This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debug the Debugger


On Wed, 2007-01-10 at 20:58 +0100, Markus Deuling wrote:
> Daniel Jacobowitz schrieb:
> > 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.
> > 
> 
> Aha ?!? Ok, interesting idea. Well, I think I'll take the C-c  :-)

And in case that doesn't work, I habitually set a breakpoint on
"help_command".  Then you just say "help foo", and you're back in
the top-level debugger.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]