ptrace_report_signal: save debug regs before to send SIGCHLD to tracer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user