This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Debugging GDB with GDB
- From: James Sampson <i_am_triumph at ofir dot dk>
- To: GDB Archive <gdb at sources dot redhat dot com>,Tim Combs <tcombs at urbana dot css dot mot dot com>
- Date: Fri, 15 Nov 2002 09:51:35 +0100
- Subject: RE: Debugging GDB with GDB
Thanks a lot - I didn't know the ctrl-c options, since I'm pretty new to GDB
:-D
Now I can get a bit further - More problems are sure to arise ;-)
J.S.
>The .gdbinit file uses "set prompt (top-gdb)" so you can differentiate
>between which gdb is running. This works best on
>the command line as you can readily see which gdb you are in. Things
>work the same as when you are debugging a program. When you want to
>stop use ctrl-c and you will see the top-level prompt and you can step
>through gdb source. When using the command line, I've always found it
>helpful to open the source file I'm debugging to follow along.
>
>Hope this helps
>Tim