gdb quit command

[prev] [thread] [next] [lurker] [Date index for 2004/08/18]

From: Michael Leuchtenburg
Subject: gdb quit command
Date: 22:52 on 18 Aug 2004
So here I am, happily debugging along, when I decide that I want to stop
running gdb for now. Knowing that gdb doesn't respond to Control-C, I
type "quit" to quit:

(gdb) quit
A debugging session is active.
Do you still want to close the debugger?(y or n) y
Cannot find thread 1024: generic error
(gdb)

I guess gdb doesn't *want* me to leave. So, since I can't exit with the
debugger session still running, I try to kill the program:

(gdb) kill
Kill the program being debugged? (y or n) y
Cannot find thread 1024: generic error
(gdb)

Figuring that I've accidentally selected a non-existent thread, I try to
list the available threads to switch to one that does exist so that I
can finally kill it:

(gdb) info threads
Cannot find new threads: generic error
(gdb)

I hate you too, gdb.

-- lucky

Generated at 10:00 on 19 Aug 2004 by mariachi 0.52