Debug the Debugger

Daniel Jacobowitz drow@false.org
Wed Jan 10 19:54:00 GMT 2007


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



More information about the Gdb mailing list