This preview shows page 1. Sign up to view the full content.
Unformatted text preview: was compiled without debugging information, execution proceeds until control reaches a function that does have debugging information. | next (n) z Similar to step z This is similar to step, but function calls that appear within the line of code are executed without stopping. | disas z Show assembly instructions for the current function Basic Commands | where/bt z Shows the current line and stack backtrace. Very useful for segmentation faults. | info registers z Shows the current state of the registers | display &lt;var/register&gt; z display the contents of the register/var. z E.g. : display count z display $eax | More Commands: z http://sources.redhat.com/gdb/onlinedocs/gdb_toc.html | Graphical User interface: ddd | Screen shots/movies : http://undo-software.com/undodb_screens.html...
View Full Document
This note was uploaded on 02/27/2012 for the course CS 251 taught by Professor Staff during the Fall '08 term at Purdue.
- Fall '08