You are not logged in.

#1 2008-03-19 20:07:38

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Gnu debugger tutorials

Are there any good online tutorials for the gnu debugger?  GDB for dummies? 

I'd like to help with the archstats program, which seems to have a problem.  I'm used to running programs in a debugger, but I have no idea where to start with this one.

Thanks in advance.

Offline

#2 2008-03-19 21:03:11

dimi
Member
Registered: 2005-12-04
Posts: 15

Re: Gnu debugger tutorials

This may be a bit unusal, but here is a link to a video that promises to teach "debugging with gdb": (didn't watch it myself)
http://borkware.com/miniblog/one-entry?entry%5fid=69026

Otherwise I can recommend using a nice front-end for gdb, such as kdbg, ddd or insight.

Offline

#3 2008-03-20 04:11:01

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Gnu debugger tutorials

Thanks  smile

Offline

#4 2008-03-20 08:29:40

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: Gnu debugger tutorials

Probably the most definitive source of information is Debugging with GDB. It does a pretty good job of showing you how to do things with gdb. Of course you will need to already be familiar with debugging in general: stepping through code, watches, breakpoints, etc. The hard part of gdb (IMO) is that you've got to keep a lot of things (context) in your head. If you've never used gdb before, I suggest trying ddd. It is a graphical front end to gdb. I know it's a bit ugly, but functionally it's pretty decent and you still have access to low-level gdb stuff so you can use the aforementioned documentation.

Regards,
j

Offline

Board footer

Powered by FluxBB