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:
Paul Saab 2000-12-31 01:30:27 +00:00
parent 10c2f24068
commit e9df486f0a

View File

@ -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) {