GDB

From ScorecWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:08, 18 August 2010
Weisse (Talk | contribs)

← Previous diff
Current revision
Weisse (Talk | contribs)
(Gdb moved to GDB)

Current revision

"GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed. " GDB

Tips

When debugging with GDB on linux, you might have to compile using gcc 3.2.3 rather than 3.3.3. to do that, put /usr/bin/ is before /usr/local/bin in your path and then recompile. To do this with bash, just say

export PATH=/usr/bin:$PATH

Links

Documentation Tutorial

Personal tools