Software Engineering on Unix

THE GNU DEBUGGER


Why use a debugger?


Why use the GNU debugger?


How to start


Listing source code


Running and stepping through programs


Frames


Breakpoints and watchpoints


Getting info about the state of execution


Inspecting and modifying data


Core Files


Getting more help


Prepared by Erik Nygren (nygren@mit.edu) and Mike Whitson (mwhitson@mit.edu)