GDB: The GNU Project Debugger
[bugs]
[committee]
[contributing]
[current cvs]
[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.0.1
Version 7.0.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
- February 18, 2010: GDB 7.1 branch created
-
The GDB 7.1 branch (gdb_7_1-branch) has been created.
To check out a copy of the branch use:
cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_1-branch gdb
- December 22, 2009: GDB 7.0.1 Released!
-
The latest version of GDB, version 7.0.1, is available for download.
This is a minor corrective release. The following fixes have been made
over GDB 7.0:
- GDB Crash due to stack overflow (PR gdb/10457);
- Build failure on newer versions of FreeBSD;
- Crash on solaris when reading symbols (PR gdb/10819);
- Thumb2 debugging support;
- Build failure on IRIX 5.3 (MAP_FAILED not defined);
- Buffer overflow during function epilogue analysis
(debuggers targeted for x86_64 only);
- Crash trying to complete the "catch exception" command;
- GDB freeze (infinite loop);
- GDB Crash accessing printing structure with bitfield (PR gdb/10884);
- Various testsuite fixes (not affecting the debugger);
- The manual now provides the correct GPL version licensing text.
Similarly, file gdb/COPYING now provides the text of the GPL version 3.
- October 06, 2009: GDB 7.0 Released!
-
The latest version of GDB, version 7.0, is available for download.
Changes in this release include:
- Support for native x86/x86_64 Darwin, x86_64 MinGW
- Support for Lattice Mico32, x86/x86_64 DICOS, S+core 3 targets
- gdbserver support for x86 Windows CE
- Python scripting support
- Reverse debugging, Process record and replay
- Non-stop debugging
- Multi-architecture debugging
- Multi-inferior, multi-process debugging
See the NEWS file for a more complete and detailed list of what this
release includes.
- 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]
[committee]
[contributing]
[current cvs]
[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 2010-02-18.