[image of Archer

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:

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 8.0

Version 8.0 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.


June 4th, 2017: GDB 8.0 Released!

The latest version of GDB, version 8.0, is available for download.

Building this version of GDB now requires the following tools:

Changes in this release include: Support for the following features have been removed: See the NEWS file for a more complete and detailed list of what this release includes.

Apr 17th, 2017: GDB 8.0 branch created

The GDB 8.0 branch (gdb-8.0-branch) has been created. To check out a copy of the branch use:

git clone --branch gdb-8.0-branch ssh://sourceware.org/git/binutils-gdb.git

Jan 21st, 2017: GDB 7.12.1 Released!

The latest version of GDB, version 7.12.1, is available for download.

This is a minor corrective release over GDB 7.12, 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 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 2017-06-04.