For simplicity, the examples in this chapter demonstrate how to use
gdb
on the command-line. There are more powerful ways to debug a
program interactively using tools such as Emacs gdb mode (M-x
gdb), ddd or insight, graphical interfaces to gdb
.
Links to these programs can be found on the publisher's webpage for this
book.1
A complete description of all the commands available in gdb
can
be found in the manual “Debugging with GDB: The GNU Source-Level
Debugger” (see Further reading).