diff options
author | Michael Snyder <msnyder@specifix.com> | 2002-09-11 00:13:58 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2002-09-11 00:13:58 +0000 |
commit | b16cb1fab25f76a40ed03c0e25276876acfd1045 (patch) | |
tree | 6b24c574f358866734a2deae707a509fcbfa6e33 /gdb/procfs.c | |
parent | 12d6e806c6fe6737e75ebe82c036d9e47984d0a0 (diff) | |
download | gdb-b16cb1fab25f76a40ed03c0e25276876acfd1045.tar.gz |
2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
* procfs.c (do_detach): Clear current signal, not just fault.
Corrects problem with breakpoint trap signal leaking to detached
process on Tru64.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index ff8a7d3fb25..fe5987601c6 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -3627,6 +3627,9 @@ do_detach (int signo) if (!proc_clear_current_fault (pi)) proc_warn (pi, "do_detach, clear_current_fault", __LINE__); + if (signo == 0 && !proc_clear_current_signal (pi)) + proc_warn (pi, "do_detach, clear_current_signal", __LINE__); + if (!proc_set_run_on_last_close (pi)) proc_warn (pi, "do_detach, set_rlc", __LINE__); } |