Debugging GDB and breaking?

James Sampson i_am_triumph@ofir.dk
Thu Dec 19 01:16:00 GMT 2002


>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
						



More information about the Gdb mailing list