GDB: The GNU Project Debugger
[bugs]
[GDB Maintainers]
[contributing]
[current git]
[documentation]
[download]
[home]
[irc]
[links]
[mailing lists]
[news]
[schedule]
[song]
[wiki]
GDB: The GNU Project Debugger
What is GDB?
GDB, the GNU Project debugger, allows you to see what is going on
`inside' another program while it executes -- or what another program
was doing at the moment it crashed.
GDB can do four main kinds of things (plus other things in support
of these) to help you catch bugs in the act:
- Start your program, specifying anything that might affect its behavior.
- Make your program stop on specified conditions.
- Examine what has happened, when your program has stopped.
- Change things in your program, so you can experiment with
correcting the effects of one bug and go on to learn about another.
The program being debugged can be written in Ada, C, C++, Objective-C,
Pascal (and many other languages). Those programs might be executing
on the same machine as GDB (native) or on another machine (remote). GDB
can run on most popular UNIX and Microsoft Windows variants.
GDB version 7.12
Version 7.12 of GDB, the GNU
Debugger, is now available for download. See the ANNOUNCEMENT for details
including changes in this release.
An errata list (PROBLEMS) and documentation
are also available.
News
- October 7th, 2016: GDB 7.12 Released!
-
The latest version of GDB, version 7.12, is available for download.
Changes in this release include:
- New target support: Andes NDS32 (nds32*-*-elf)
- Rust: Debugging programs written in Rust is now supported.
- Fortran: Support structures with fields of dynamic types and arrays
of dynamic types.
- Various Python enhancements (new convenience functions, enhanced
support for breakpoints).
- Various GDBserver enhancements:
- btrace recording without maintaining an active GDB connection.
- tracepoints and fast tracepoints support added on s390-linux,
s390x-linux, powerpc64-linux, and powerpc64le-linux.
- Support for the following remote target protocols and ROM monitors
has been removed:
- target m32rsdi (Remote M32R debugging over SDI)
- target mips (MIPS remote debugging protocol)
- target pmon (PMON ROM monitor)
- target ddb (NEC's DDB variant of PMON for Vr4300)
- target rockhopper (NEC RockHopper variant of PMON)
- target lsi (LSI variant of PMO)
See the NEWS file for a more complete and detailed list of what this
release includes.
- Aug 1st, 2016: GDB 7.12 branch created
-
The GDB 7.12 branch (gdb-7.12-branch) has been created.
To check out a copy of the branch use:
git clone --branch gdb-7.12-branch ssh://sourceware.org/git/binutils-gdb.git
- May 31st, 2016: GDB 7.11.1 Released!
-
The latest version of GDB, version 7.11.1, is available for download.
This is a minor corrective release over GDB 7.11, fixing the following
issues:
- September 30, 2011: Release Mistakes in GDB Versions 6.0 - 7.3
-
A mistake has been detected in the release tar files for all
GDB releases from version 6.0 to version 7.3 (included). The mistake
has been corrected, and the FSF issued the following announcements:
- Nov 28, 2006: Reversible Debugging
-
The GDB maintainers are looking for contributors interested
in reversible debugging.
Late breaking information, such as recently added features, can be
found in the NEWS file in the gdb source tree. Old announcements are in the
news archive.
[bugs]
[GDB Maintainers]
[contributing]
[current git]
[documentation]
[download]
[home]
[irc]
[links]
[mailing lists]
[news]
[schedule]
[song]
[wiki]
Please send FSF & GNU inquiries & questions to [email protected]. There are also other ways to
contact the FSF.
This page is maintained by the GDB
developers.
Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
Floor, Boston, MA 02110-1301 USA.
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.
Last modified 2016-10-26.