Rockbox Development > Starting Development and Compiling

Using gdb for debugging

(1/5) > >>

iPodFoo:
Hi.

Id like to be able to use the gdb debugger but I cant find much on how to use it. Looking at the "help" didnt really explain how to do things.

Do I run the simulator, then press ctrl and c to break then type one of the keywords listed in help?

Any pointers would be much appreciated.

Thanks.

ps. Using Debian in VMWare on XP.

bluebrother:
You noticed some reference cards in a later post, why shouldn't there one for gdb? A quick google search found this here: http://refcards.com/refcards/gdb/index.html ("man gdb" might also be a start).
You can also have a look in the official gdb documentation at the gnu website: http://www.gnu.org/software/gdb/documentation/

iPodFoo:
I only really stumbled on that reference cards page, unfortunately there wasnt a gdb one.

Will add those ones you found to the list. Thanks.

Is there a wiki page on gdb somewhere? If not and if I learn it right, I'll do one. ;D

bluebrother:
AFAIK there isn't a wiki page on gdb yet (assuming you're speaking of the Rockbox wiki ;-)

Btw, why don't you add the reference card links to some getting started with development wiki page? Would make much more sense for me.

Llorean:
Yes, we use the forums for discussion, and the wiki for static information.

Navigation

[0] Message Index

[#] Next page

Go to full version