I'd appreciate it if those who are having issues with gdb were to
try this patch and let me know if it fixes things.

Index: sys_process.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/sys_process.c,v
retrieving revision 1.57
diff -u -u -r1.57 sys_process.c
--- sys_process.c       2000/12/28 08:34:21     1.57
+++ sys_process.c       2000/12/30 00:24:38
@@ -381,8 +381,8 @@
                if (p->p_stat == SSTOP) {
                        p->p_xstat = uap->data;
                        setrunnable(p);
-                       psignal(p, SIGCONT);
                        mtx_exit(&sched_lock, MTX_SPIN);
+                       psignal(p, SIGCONT);
                } else {
                        mtx_exit(&sched_lock, MTX_SPIN);
                        if (uap->data) {

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to