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.10.1
Version 7.10.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
- December 5th, 2015: GDB 7.10.1 Released!
-
The latest version of GDB, version 7.10.1, is available for download.
This is a minor corrective release over GDB 7.10, fixing the following
issues:
- PR remote/18965 (new vforkdone stop reply should indicate parent process ID)
- PR gdb/18957 (build failure in linux-namespaces.c due to setns static declaration)
- PR gdb/19297 (Internal error on "record btrace": Unexpected branch trace format)
- PR c++/16957 (gdb segfaults when loading symbols in C++11-enabled application)
- PR c++/19306 (Incorrect demangling of symbols with ABI tags)
- PR c++/19307 (Demangler bugs found with fuzz-testing)
- PR c++/19308 (Demangle C++ Transactional Memory TS (N4514) symbols)
- August 28th, 2015: GDB 7.10 Released!
-
The latest version of GDB, version 7.10, is available for download.
Changes in this release include:
- Improved support for accessing shared libraries directly from
the target system when debugging remotely.
- Various Guile and Python scripting improvements.
- Record-replay and reverse debugging on Aarch64 Linux.
- Support for fork events on extended-remote Linux targets
(Linux kernels 2.5.60 and later).
- DTrace USDT (Userland Static Defined Tracing) probes support
on x86_64 GNU/Linux targets.
- Vector ABI support on S/390 GNU/Linux targets.
- GDB now reads the GDBHISTSIZE environment variable rather than
HISTSIZE to determine the size of GDB's command history.
- Support for setting the parity when connecting to the target
using a serial interface.
- The number of candidates to be considered during completion
can now be limited.
- Support for Sun's version of the "stabs" debug file format
has been removed.
- Support for HP/PA running HP-UX (hppa*-*-hpux*) has been removed.
- Support for Itanium running HP-UX (ia64-*-hpux*) has been removed.
See the NEWS file for a more complete and detailed list of what this
release includes.
- July 6th, 2015: GDB 7.10 branch created
-
The GDB 7.10 branch (gdb-7.10-branch) has been created.
To check out a copy of the branch use:
git clone --branch gdb-7.10-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 2015-12-05.