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.11.1
Version 7.11.1 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
- 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:
- February 24th, 2016: GDB 7.11 Released!
-
The latest version of GDB, version 7.11, is available for download.
Changes in this release include:
- Per-inferior thread numbers.
- Breakpoint "explicit locations" (via CLI and GDB/MI).
- New convenience variables ($_gthread, $_inferior).
- Record btrace now supports non-stop mode.
- Various improvements on AArch64 GNU/Linux:
- Multi-architecture debugging support.
- displaced stepping.
- tracepoint support added in GDBserver.
- kernel-based threads support on FreeBSD.
- Support for reading/writing memory and extracting values on architectures
whose memory is addressable in units of any integral multiple of 8 bits.
- In Ada, the overloads selection menu provides the parameter types and return types for the matching overloaded subprograms.
- Various remote protocol improvements, including several new packets which can be used to support features such as follow-exec-mode, exec catchpoints, syscall catchpoints, etc.
- Some minor improvements in the Python API for extending GDB.
- Support for various ROM monitors has been removed:
- target dbug dBUG ROM monitor for Motorola ColdFire
- target picobug Motorola picobug monitor
- target dink32 DINK32 ROM monitor for PowerPC
- target m32r Renesas M32R/D ROM monitor
- target mon2000 mon2000 ROM monitor
- target ppcbug PPCBUG ROM monitor for PowerPC
See the NEWS file for a more complete and detailed list of what this
release includes.
- Feb 10th, 2016: GDB 7.11 branch created
-
The GDB 7.11 branch (gdb-7.11-branch) has been created.
To check out a copy of the branch use:
git clone --branch gdb-7.11-branch ssh://sourceware.org/git/binutils-gdb.git
- 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 gnu@gnu.org. 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-05-31.