This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Debugging GDB and breaking?
- From: James Sampson <i_am_triumph at ofir dot dk>
- To: GDB Archive <gdb at sources dot redhat dot com>
- Date: Thu, 19 Dec 2002 10:16:11 +0100
- Subject: RE: Debugging GDB and breaking?
>Some general hints for debugging gdb:
Cool!
>I start with "gdb /my/gdb/to/debug/bin/gdb". I like to use a stable gdb
>for the top gdb, such as the vendor-supplied gdb or gdb 5.3. Also this
>helps separate, in my mind, the top gdb from the inferior gdb.
I didn't even know the 5.3 was out - Gonna grab that immediatly :-)
>After that, in your specific case, you want to break at break_command
>and then use "next" and "step" from there.
Ok, so the "break_command" is the first function to be called when setting a
breakpoint? :-)
>Hope this helps,
Sure did, thanks :-D
Best Regards
James