This is the mail archive of the gdb@sources.redhat.com 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: 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
						


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