Message ID | 53B583B2.1040407@mentor.com |
---|---|
State | New |
Headers | show |
--- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -472,8 +472,9 @@ holding the child stopped. Try \"set de int signo; signo = WSTOPSIG (status); - if (signo != 0 - && !signal_pass_state (gdb_signal_from_host (signo))) + if (signo == SIGSTOP + || (signo != 0 + && !signal_pass_state (gdb_signal_from_host (signo)))) signo = 0; ptrace (PTRACE_DETACH, child_pid, 0, signo); }