Re: ps just hangs

2001-10-25 Thread Roland McGrath
>But there is no excuse for C-c not working in gdb. >Someone should debug gdb. > > Hmm. C-c is supposed to interrupt the program, which obviously fails > because the signal thread isn't responding. Should it interrupt GDB > instead in such a case? He's using attach in gdb. C-c should n

Re: ps just hangs

2001-10-25 Thread Mark Kettenis
From: Roland McGrath <[EMAIL PROTECTED]> Date: Thu, 25 Oct 2001 02:31:19 -0400 (EDT) > (gdb) attach 743 > Attaching to program `/usr/bin/tail', pid 743 > ^C^C Hmm. That might be gdb trying to talk to the signal thread. Definitely. But there is no excuse for C-c not worki

Re: ps just hangs

2001-10-24 Thread Roland McGrath
> GDB here seems to be stuck, and C-c won't break out back to the gdb prompt. > > buildd@hurd:~$ gdb /usr/bin/tail > GNU gdb 5.0.90-cvs (MI_OUT) > Copyright 2001 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it an

Re: ps just hangs

2001-10-24 Thread Jeff Bailey
On Thu, Oct 25, 2001 at 02:03:35AM -0400, Roland McGrath wrote: > Well don't be shy man, take your gdb there and attach it to the tail process! Sorry, sleepiness talking again. =) I'm going to sleep after this message. I assume the system will be still stuck in the morning. If not, this isn't

Re: ps just hangs

2001-10-24 Thread Roland McGrath
> On Thu, Oct 25, 2001 at 01:42:48AM -0400, Roland McGrath wrote: > > Whenever ps hangs, try ps -M and then narrow down if it hangs only querying > > specific processes without -M. > > Got one. What do I do next? > > buildd@hurd:~$ ps -M > PID STAT TIME COMMAND > 656 Sw0:00.35 gdb t

Re: ps just hangs

2001-10-24 Thread Jeff Bailey
On Thu, Oct 25, 2001 at 01:42:48AM -0400, Roland McGrath wrote: > Whenever ps hangs, try ps -M and then narrow down if it hangs only querying > specific processes without -M. Got one. What do I do next? buildd@hurd:~$ ps -M PID STAT TIME COMMAND 656 Sw0:00.35 gdb tail 743 Sx0:

Re: ps just hangs

2001-10-24 Thread Roland McGrath
Whenever ps hangs, try ps -M and then narrow down if it hangs only querying specific processes without -M. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

ps just hangs

2001-10-24 Thread Jeff Bailey
Here is the problem I'm having: buildd@hurd:~$ ps ^C buildd@hurd:~$ gdb ps GNU gdb 5.0.90-cvs (MI_OUT) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condi