* Gdb quit problem on Linux/mips
@ 2001-07-13 16:44 H . J . Lu
2001-07-13 16:55 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: H . J . Lu @ 2001-07-13 16:44 UTC (permalink / raw)
To: GDB; +Cc: linux-mips
Did anyone see the quit problem on Linux/mips with gdb 2001-07-13-cvs?
I got
(gdb) b main
Breakpoint 1 at 0x400744: file x.c, line 3.
(gdb) r
Starting program: /tmp/./a.out
Breakpoint 1, main () at x.c:3
3 printf ("Hello\n");
(gdb) q
The program is running. Exit anyway? (y or n) y
It stops here. I get
1540 pts/0 S 0:04 ./gdb ./a.out
1550 pts/0 T 0:00 /tmp/./a.out
# strace -p 1540
wait4(-1,
It may be a kernel bug. I am running 2.4.3.
H.J.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Gdb quit problem on Linux/mips
2001-07-13 16:44 Gdb quit problem on Linux/mips H . J . Lu
@ 2001-07-13 16:55 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2001-07-13 16:55 UTC (permalink / raw)
To: H . J . Lu; +Cc: GDB, linux-mips
On Fri, Jul 13, 2001 at 04:44:15PM -0700, H . J . Lu wrote:
> Did anyone see the quit problem on Linux/mips with gdb 2001-07-13-cvs?
> I got
>
> (gdb) b main
> Breakpoint 1 at 0x400744: file x.c, line 3.
> (gdb) r
> Starting program: /tmp/./a.out
>
> Breakpoint 1, main () at x.c:3
> 3 printf ("Hello\n");
> (gdb) q
> The program is running. Exit anyway? (y or n) y
>
> It stops here. I get
>
> 1540 pts/0 S 0:04 ./gdb ./a.out
> 1550 pts/0 T 0:00 /tmp/./a.out
>
> # strace -p 1540
> wait4(-1,
>
> It may be a kernel bug. I am running 2.4.3.
Yes, it's a kernel bug. I believe this is fixed in the SGI tree; I
know it's fixed in ours (which will be available Monday or later
tonight).
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-13 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13 16:44 Gdb quit problem on Linux/mips H . J . Lu
2001-07-13 16:55 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox