server: Don't single step into signal handlers.
This commit is contained in:
parent
a1f0f39174
commit
3dd0b2ef64
|
@ -84,10 +84,7 @@ static int handle_child_status( struct thread *thread, int pid, int status, int
|
|||
if (sig != want_sig)
|
||||
{
|
||||
/* ignore other signals for now */
|
||||
if (thread && get_thread_single_step( thread ))
|
||||
ptrace( PTRACE_SINGLESTEP, pid, (caddr_t)1, sig );
|
||||
else
|
||||
ptrace( PTRACE_CONT, pid, (caddr_t)1, sig );
|
||||
ptrace( PTRACE_CONT, pid, (caddr_t)1, sig );
|
||||
}
|
||||
return sig;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue