Backout rev 1.57 & 1.58. While the previous revisions fixed
attaching to running processes, it completely breaks normal debugging. A better fix is in the works, but cannot be properly tested until the problem with gdb hanging the system in -current is solved.
This commit is contained in:
parent
10c2f24068
commit
e9df486f0a
@ -382,7 +382,6 @@ ptrace(curp, uap)
|
||||
p->p_xstat = uap->data;
|
||||
setrunnable(p);
|
||||
mtx_exit(&sched_lock, MTX_SPIN);
|
||||
psignal(p, SIGCONT);
|
||||
} else {
|
||||
mtx_exit(&sched_lock, MTX_SPIN);
|
||||
if (uap->data) {
|
||||
|
Loading…
Reference in New Issue
Block a user