On 30-Dec-00 Alfred Perlstein wrote:
> 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) {
Egads! Did I do that? /me crawls off into a hole and dies..
Holding sched_lock over psignal() is probably a very Bad Thing(tm).
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message