[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-current
Subject: Re: possible fix for gdb hanging the kernel
From: Alex Kapranoff <alex () kapran ! bitmcnit ! bryansk ! su>
Date: 2000-12-30 10:49:23
[Download RAW message or body]
On Fri, Dec 29, 2000 at 04:19:38PM -0800, 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.
Sorry, but gdb keeps hanging my box after this patch.
In fact, the behaviour didn't changed.
> 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 - [bright@wintelcom.net|alfred@freebsd.org]
> "I have the heart of a child; I keep it in a jar on my desk."
--
Alex Kapranoff, Voice: +7(0832)791845
1 days before the brand new millenium...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic