Debugging with GDB explains how to use the GNU Debugger. It explains how to run your program under debugger control, how to examine and alter data, how to modify the flow of control within the program, and how to use GDB through GNU Emacs, with auto-display of source lines. GDB features command-line editing, a value history, and userdefined commands. It has the ability to call functions in the program being debugged and to watch a location in memory and take action when it changes. GDB reads symbol tables incrementally, which provides for fast startup and less memory use. GDB can be used to debug C and C++ programs.
Debugging with GDB explains how to use the GNU Debugger. It explains how to run your program under debugger control, how to examine and alter data, how to modify the flow of control within the program, and how to use GDB through GNU Emacs, with auto-display of source lines. GDB features command-line editing, a value history, and userdefined commands. It has the ability to call functions in the program being debugged and to watch a location in memory and take action when it changes. GDB reads symbol tables incrementally, which provides for fast startup and less memory use. GDB can be used to debug C and C++ programs.