RE: Debugging GDB and breaking?

James Sampson
2002-12-19T09:16:26Z

>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