The GNU Debugger, commonly abbreviated as GDB, is a command line tool that can be used to debug programs written in various programming languages. It allows you to inspect memory within the code being debugged, control the execution state of the code, detect the execution of particular sections of code, and much more.
Red Hat Developer Toolset is distributed with GDB 7.6.1. This version is more recent than the version included in Red Hat Enterprise Linux and the previous release of Red Hat Developer Toolset, and provides numerous bug fixes and enhancements, including improved support for Python scripting, ambiguous line specifications, and tracepoints, as well as improved inferior control commands and handling of C++ debugee executables. For a detailed list of changes, see Section A.5, “Changes in GDB”.
In Red Hat Developer Toolset, the GNU Debugger is provided by the devtoolset-2-gdb package and is automatically installed with devtoolset-2-toolchain as described in Section 1.5, “Installing Red Hat Developer Toolset”.
Note
The Red Hat Developer Toolset version of the GNU Debugger is available for both Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6 on 32-bit and 64-bit Intel and AMD architectures. On Red Hat Enterprise Linux 5, the GNU Debugger does not support build IDs and as a consequence, it is unable to determine the versions of binaries that created a particular core dump file. In addition, the GNU Debugger for Red Hat Enterprise Linux 5 does not advise users which RPM packages with debugging information to install.