370 Linux for IBM ^ zSeries and S/390: Distributions
Note that the following sections contain information only, and do not provide
examples or specific instructions.
19.4.1 strace
strace is very useful when trying to understand how unexpected output or results
have come about. Refer to 19.1.2, “strace” on page 356 for working examples. Its
use will allow you to understand the sequence of events from a system cal
perspective.
19.4.2 gdb
gdb can be used with source code, for C, C++ and Modula2 programs. For a
complete guide to using gdb as a source-level debugger, the man page says the
following
For full details on GDB, see Using GDB: A Guide to the GNU
Source-Level Debugger, by Richard M. Stallman and Roland
H. Pesch. The same text is available ...