Remove P_STOPPED_TRACE bit if debugger dies without a chance to
detach debugged process.
This commit is contained in:
parent
762724b3f7
commit
c283653201
@ -403,7 +403,7 @@ exit1(struct thread *td, int rv)
|
||||
* since their existence means someone is screwing up.
|
||||
*/
|
||||
if (q->p_flag & P_TRACED) {
|
||||
q->p_flag &= ~P_TRACED;
|
||||
q->p_flag &= ~(P_TRACED | P_STOPPED_TRACE);
|
||||
psignal(q, SIGKILL);
|
||||
}
|
||||
PROC_UNLOCK(q);
|
||||
|
Loading…
Reference in New Issue
Block a user