This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Debug the Debugger
- From: Daniel Jacobowitz <drow at false dot org>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Discuss <gdb at sources dot redhat dot com>
- Date: Wed, 10 Jan 2007 14:54:43 -0500
- Subject: Re: Debug the Debugger
- References: <45A542CC.2090906@de.ibm.com>
On Wed, Jan 10, 2007 at 08:47:24PM +0100, Markus Deuling wrote:
> Hi,
>
> I try debugging gdb with gdb. GDB Internals Manual (19.2, p.96) says "The
> info command, when executed without a subcommand in a GDB being debugged by
> gdb, will pop you backup to the top leve gdb."
>
> But it doesn't :-(
This relies on a breakpoint on info_command. The gdbinit file in the
gdb object directory sets that up. If you run GDB from anywhere else,
you won't get it.
Like Paul, I usually use C-c.
--
Daniel Jacobowitz
CodeSourcery