ptrace_report_signal: save debug regs before to send SIGCHLD to tracer

This commit is contained in:
Tomoki Shirasawa
2016-03-09 22:29:51 +09:00
parent bf0cf0a346
commit 3f16a9443e
2 changed files with 10 additions and 6 deletions

View File

@@ -2689,6 +2689,7 @@ sched_wakeup_thread(struct thread *thread, int valid_states)
irqstate = ihk_mc_spinlock_lock(&(v->runq_lock));
if (thread->status & valid_states) {
xchg4((int *)(&thread->proc->status), PS_RUNNING);
xchg4((int *)(&thread->status), PS_RUNNING);
status = 0;
}