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.
This commit is contained in:
parent
470903d0b0
commit
1a303dec0c
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2002-09-10 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* buildsym.c (finish_block): Protect against null pointer.
|
||||
|
@ -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__);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user