236 Linux Applications on pSeries
6.4.6 gdb
The gdb command is part of the GNUPro package for AIX. The gdb command is a
debugging tool for monitoring how a program executes, or what a program was
doing at the moment it crashed. Programs to be debugged can be written in C,
C++, Pascal, Modula, and several other languages. The programs are normally
executed on the same machine as the gdb command (
native) or on another
machine (
remote).
Synopsis
gdb [options] [executable-file [core-file or process-id]]
The following list describes options for the gdb command:
--[no]async Enable (disable) asynchronous version of CLI.
-b BAUDRATE Set serial port baud rate used for remote debugging.
--batch Exit after processing options.
--cd=DIR Change ...