September 13th, 2020: GDB 10 branch created

The GDB 10 branch ( gdb-10-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-10-branch git://sourceware.org/git/binutils-gdb.git

May 23rd, 2020: GDB 9.2 Released!

The latest version of GDB, version 9.2, is available for download. This is a minor corrective release over GDB 9.1, fixing the following issues: PR tui/25586 (Resizing the source/disassembly or command window produces corrupted display)

PR gdb/25650 (GDB can't 'printf' a convenience variable holding an inferior address)

PR build/25981 (Use of short i386 register names breaks compilation on recent Solaris 11.4)

PR symtab/26003 (infinite loop loading symbols from separate debug objfile)

PR build/26029 (GDB build failure on SPARC)

February 8th, 2020: GDB 9.1 Released!

The latest version of GDB, version 9.1, is available for download. This version of GDB includes the following changes and enhancements: Building GDB and GDBserver now requires GNU make >= 3.82.

If you choose to build GDB without using the GNU readline version bundled with the GDB sources, building GDB new requires GNU readline >= 7.0.

Removed targets and native configurations: GDB no longer supports debugging the Cell Broadband Engine; GDB no longer supports Solaris 10.

New TI PRU Simulator (pru-*-elf).

Python Enhancements: GDB can now be compiled with Python 3 on Windows; Various Python API enhancements;

Usability enhancements: [experimental] Multithreaded symbol loading for higher performance (turned off by default, use 'maint set worker-threads unlimited' to turn this feature on); Command names can now use the '.' character; GDB can now place breakpoints on nested functions and subroutines in Fortran; GDB now shows the Ada task names at more places, e.g. in task switching messages. Styling enhancements to various commands to improve readability. GDB now has a standard infrastructure to support dash-style command options ('-OPT'). One benefit is that commands that use it can easily support completion of command line arguments. Try "CMD -[TAB]" or "help CMD" to find options supported by a command. Over time, we intend to migrate most commands to this infrastructure.

Enhancements to existing commands: "printf" and "eval" can now print C-style and Ada-style strings without calling functions in the program; "info sources" has been enhance to allow only printing files whose name match a REGEXP; New value "presence" for the "set print frame-arguments" setting, to only indicate the presence of arguments with '...' instead of printing the argument names and values; The "focus", "winheight", "+", "-", ">", " New options support for the following commands that allow overriding a number of relevant global settings (as set by e.g. "set print [...]" commands): "print", "compile print", "backtrace", "frame apply", "tfaas", "faas"; "info types" support for "-q" to disable printing of some header information; In settings, "unlimited" can now be abbreviated with "u". New commands: "define-prefix" to define user-defined prefix commands; "|" or "pipe" to execute a command and send its output to a shell command. "with" to run a given command with a setting temporarily changed to a given value; "set may-call-functions" to control whether subprogram can be called from GDB; "set print finish [on|off]" to control whether the returned value should be printed when using the "finish" command; "set print max-depth" to simplify the printing of deeply nested structures; "set print raw-values [on|off]" to turn on and off pretty printers; "set logging debugredirect [on|off]" to control whether to redirect debug output to the log file; Various new "set style" commands; "set print frame-info [...]" to control what information to print when printing a frame. "set tui compact-source" to enable the "compact" mode for the TUI source window; "info modules [...]" to query information about Fortran modules; The "set/show print raw-frame-arguments" commands replace the "set/show print raw frame-arguments" (now with a dash instead of a space). The latter is now deprecated and may be removed in a future release.

New GDB/MI commands "-complete" to list possible completions; "-catch-throw", "-catch-rethrow", and "-catch-catch", the GDB/MI equivalent of the "catch throw", "catch rethrow", and "catch catch" commands (respectively); "-symbol-info-functions", "-symbol-info-types", and "-symbol-info-variables", the GDB/MI equivalent of the "info functions", "info types", and "info variables" commands (respectively); "-symbol-info-modules", "-symbol-info-module-functions", and "-symbol-info-module-variables", the GDB/MI equivalent of "info modules", "info module functions" and "info module variables".

Other MI changes The default version of the MI interpreter is now 3 (-i=mi3); The output of information about multi-location breakpoints (which is syntactically incorrect in MI 2) has changed in MI 3; Backtraces and frames include a new optional field "addr_flags".

Several new builtin convenience variables $_gdb_major and $_gdb_minor; $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting and $_gdb_maint_setting_str $_cimag and $_creal $_shell_exitcode and $_shell_exitsignal

Miscellaneous enhancements: Support for a new configure option "--with-system-gdbinit-dir", where system gdbinit files are to be loaded from at startup; 'thread-exited' event is now available in the annotations interface; The TUI SingleKey keymap is now named "SingleKey" (requires GNU readline >= 8.0).

See the NEWS file for a more complete and detailed list of what this release includes.

December 11th, 2019: GDB 9 branch created

The GDB 9 branch ( gdb-9-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-9-branch git://sourceware.org/git/binutils-gdb.git

September 20th, 2019: GDB 8.3.1 Released!

May 11th, 2019: GDB 8.3 Released!

The latest version of GDB, version 8.3, is available for download. This version of GDB includes the following changes and enhancements: Support for new native configurations (also available as a target configuration): RISC-V GNU/Linux (riscv*-*-linux*) RISC-V FreeBSD (riscv*-*-freebsd*)

Support for new target configurations: CSKY ELF (csky*-*-elf) CSKY GNU/Linux (csky*-*-linux) NXP S12Z ELF (s12z-*-elf) OpenRISC GNU/Linux (or1k*-*-linux*)

Native Windows debugging is only supported on Windows XP or later.

The Python API in GDB now requires Python 2.6 or later.

GDB now supports terminal styling for the CLI and TUI. Source highlighting is also supported by building GDB with GNU Highlight.

Experimental support for compilation and injection of C++ source code into the inferior (requires GCC 7.1 or higher, built with libcp1.so).

GDB and GDBserver now support IPv6 connections.

Target description support on RISC-V targets.

Various enhancements to several commands: "frame", "select-frame" and "info frame" commands "info functions", "info types", "info variables" "info thread" "info proc" System call alias catchpoint support on FreeBSD "target remote" support for Unix Domain sockets.

Support for displaying all files opened by a process

DWARF index cache: GDB can now automatically save indices of DWARF symbols on disk to speed up further loading of the same binaries.

Various GDB/MI enhancements.

GDBserver on PowerPC GNU/Linux now supports access to the PPR, DSCR, TAR, EBB/PMU, and HTM registers.

Ada task switching support when debugging programs built with the Ravenscar profile added to aarch64-elf.

GDB in batch mode now exits with status 1 if the last executed command failed.

Support for building GDB with GCC's Undefined Behavior Sanitizer. See the NEWS file for a more complete and detailed list of what this release includes.

February 27th, 2019: GDB 8.3 branch created

The GDB 8.3 branch ( gdb-8.3-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-8.3-branch ssh://sourceware.org/git/binutils-gdb.git

December 23rd, 2018: GDB 8.2.1 Released!

September 5th, 2018: GDB 8.2 Released!

The latest version of GDB, version 8.2, is available for download. This version of GDB includes the following changes and enhancements: Support for the following target has been added: RiscV ELF (riscv*-*-elf)

Support for following targets and native configurations has been removed: m88k running OpenBSD (m88*-*-openbsd*) SH-5/SH64 ELF (sh64-*-elf*) SH-5/SH64 (sh*) SH-5/SH64 running GNU/Linux (sh*-*-linux*) SH-5/SH64 running OpenBSD (sh*-*-openbsd*)

Various Python API enhancements

Aarch64/Linux enhancements: SVE support. Hardware watchpoints improvements for entities stored at unaligned addresses. New "c" response to disable the pager for the rest of the current command. C expressions can now use _Alignof, and C++ expressions can now use alignof. Improved flexibility for loading symbol files. The 'info proc' command nows works on running processes on FreeBSD systems as well as core files created on FreeBSD systems. A new --enable-codesign=CERT configure option to automatically codesign GDB after build (useful on MacOS X). See the NEWS file for a more complete and detailed list of what this release includes.



July 31st, 2018: GDB 8.1.1 Released!

July 4th, 2018: GDB 8.2 branch created

The GDB 8.2 branch ( gdb-8.2-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-8.2-branch ssh://sourceware.org/git/binutils-gdb.git

January 31st, 2018: GDB 8.1 Released!

The latest version of GDB, version 8.1, is available for download. Changes in this release include: Breakpoints on C++ functions are now set on all scopes by default ("wild" matching);

Support for inserting breakpoints on functions marked with C++ ABI tags;

Target floating-point arithmetic emulation during expression evaluation (requires MPFR 3.1 or later);

Various Python Scripting enhancements;

Improved Rust support; in particular, Trait objects can now be inspected when debugging Rust code;

GDB no longer makes assumptions about the type of symbols without debugging information to avoid producing erroneous and often confusing results;

The 'enable' and 'disable' commands now accept a range of breakpoint locations;

New 'starti' command to start the program at the first instruction;

New 'rbreak' command to insert a number of breakpoints via a regular expression pattern (requires Python);

The 'ptype' command now supports printing the offset and size of the fields in a struct;

The 'gcore' command now supports dumping all the memory mappings ('-a' command-line option);

New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti;

GDBserver enhancements: Support for transmitting environment variables to GDBserver; Support for starting inferior processes with a specified initial working directory; On Unix systems, support for globbing expansion and variable substitution of inferior command-line arguments;

Various completion enhancements;

The command used to compile and inject code with the 'compile' command is now configurable;

New '--readnever' command-line option to speed the GDB startup when debugging information is not needed;

Support for the following new native configurations: FreeBSD/aarch64 (aarch64*-*-freebsd*); FreeBSD/arm (arm*-*-freebsd*);

Support for the following new targets: FreeBSD/aarch64 (aarch64*-*-freebsd*); FreeBSD/arm (arm*-*-freebsd*); OpenRISC ELF (or1k*-*-elf)

Removed support for the following targets and native configurations: Solaris2/x86 (i?86-*-solaris2.[0-9]); Solaris2/sparc (sparc*-*-solaris2.[0-9]);

See the NEWS file for a more complete and detailed list of what this release includes.

January 5th, 2018: GDB 8.1 branch created

The GDB 8.1 branch ( gdb-8.1-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-8.1-branch ssh://sourceware.org/git/binutils-gdb.git

November 1st, 2017: Debugging Tools Devroom at FOSDEM 2018

We will have a Debugging Tools Devroom at FOSDEM 2018. The Call for Participation has recently been announced. The Devroom is on the first of the two FOSDEM days, on Saturday 3 Feb 2018. See you all at FOSDEM in Brussels!

September 7th, 2017: GDB 8.0.1 Released!

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: A C++-11 compiler (for instance, GCC 4.8 or later);

GNU make version 3.81 or later. Changes in this release include: C++: Support for rvalue references

Python scripting enhancements: New functions to start, stop and access a running btrace recording. Rvalue reference support in gdb.Type.

GDB commands interpreter: User commands now accept an unlimited number of arguments. The "eval" command now expands user-defined arguments.

DWARF version 5 support

(note that its .debug_names index is not supported yet).

(note that its .debug_names index is not supported yet). GDB/MI enhancements: New -file-list-shared-libraries command to list the shared libraries in the program. New -target-flash-erase command, to erase flash memory.

Support for native FreeBSD/mips (mips*-*-freebsd)

Support for the following targets: Synopsys ARC (arc*-*-elf32) FreeBSD/mips (mips*-*-freebsd)

Miscellaneous enhancements: Command-line redirection now supported on MS-Windows hosts. Support for thread names on MS-Windows. Support for the PKU register on GNU/Linux. Support for Target descriptions on sparc32 and sparc64. New GDB/CLI command to erase flash memory rdrand and rdseed instructions record/replay support.

Support for the following features have been removed: Support for Java programs compiled with gcj

Support for the following configurations: FreeBSD/alpha (alpha*-*-freebsd*) GNU/kFreeBSD/alpha (alpha*-*-kfreebsd*-gnu)

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!

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!

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

December 5th, 2015: GDB 7.10.1 Released!

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

May 13th, 2015: GDB 7.9.1 Released!

The latest version of GDB, version 7.9.1, is available for download. This is a minor corrective release over GDB 7.9, fixing the following issues: PR build/18033 (C++ style comment used in gdb/iq2000-tdep.c and gdb/compile/compile-*.c)

PR build/18298 ("compile" command cannot find compiler if tools configured with triplet instead of quadruplet)

PR tui/18311 (Random SEGV when displaying registers in TUI mode)

PR python/18299 (exception when registering a global pretty-printer in verbose mode)

PR python/18066 (argument "word" seems broken in Command.complete (text, word))

PR pascal/17815 (Fix pascal behavior for class fields with testcase)

PR python/18285 (ptype expr-with-xmethod causes SEGV)

February 20th, 2015: GDB 7.9 Released!

The latest version of GDB, version 7.9, is available for download. Changes in this release include: Python scripting enhancements.

Source code compilation and injection into the inferior.

New commands, options, convenience variables/options.

MIPS SDE support (mips*-sde*-elf*).

Better handling of signals when debugging threaded programs. See the NEWS file for a more complete and detailed list of what this release includes.

January 15th, 2015: GDB 7.8.2 Released!

The latest version of GDB, version 7.8.2, is available for download. This is a minor corrective release over GDB 7.8.1, fixing the following issues: PR symtab/17642 ([7.8 regression] internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed.)

PR binutils/17677 (_bfd_elf_get_synthetic_symtab runs in O(n^2) complexity)

PR gdb/16215 (SPARC: can't compute CFA for this frame)

PR gdb/17525 (target-async: breakpoint commands not executed when program run from -x script)

PR cli/17828 ([7.8 regression] -batch -ex r breaks terminal)

January 13th, 2015: GDB 7.9 branch created

The GDB 7.9 branch ( gdb-7.9-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-7.9-branch ssh://sourceware.org/git/binutils-gdb.git

October 29th, 2014: GDB 7.8.1 Released!

July 29th, 2014: GDB 7.8 Released!

The latest version of GDB, version 7.8, is available for download. Changes in this release include: Guile scripting support.

Python scripting enhancements.

New commands, options, convenience variables/options.

Remote Protocol and GDBserver enhancements.

New target configurations (PowerPC64 GNU/Linux little-endian).

btrace enhancements.

ISO C99 variable length automatic arrays support.

The "compare-sections" command now works on all targets.

The "target native" command now connects to the native target. See the NEWS file for a more complete and detailed list of what this release includes.

June 11th, 2014: GDB 7.8 branch created

The GDB 7.8 branch ( gdb-7.8-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-7.8-branch ssh://sourceware.org/git/binutils-gdb.git

May 5th, 2014: GDB 7.7.1 Released!

February 6th, 2014: GDB 7.7 Released!

The latest version of GDB, version 7.7, is available for download. Changes in this release include: Enhanced Python scripting support.

Some C++ improvements.

New commands, options, convenience variables/options.

Several GDB/MI new commands and enhancements.

Remote Protocol and GDBserver enhancements.

New target configurations (Nios II, TI MSP430).

GDB Windows x64 unwinding data support.

SystemTap SDT probes support on AArch64 GNU/Linux.

CTF (Common Trace Format) support.

New scripts gcore and gdb-add-index.sh.

Improved arm*-linux record/replay support.

Removed support for a.out NetBSD and OpenBSD obsolete configurations. ELF variants of these configurations are kept supported.

The "set|show remotebaud" commands are deprecated in favor of "show|show serial baud". See the NEWS file for a more complete and detailed list of what this release includes.

January 8th, 2014: GDB 7.7 branch created

The GDB 7.7 branch ( gdb-7.7-branch ) has been created. To check out a copy of the branch use: git clone --branch gdb-7.7-branch ssh://sourceware.org/git/binutils-gdb.git

December 8th, 2013: GDB 7.6.2 Released!

The latest version of GDB, version 7.6.2, is available for download. This is a minor corrective release over GDB 7.6.1, fixing the following issues: PR breakpoint/16251 (AArch64 hardware breakpoint error after fork)

PR gdb/16303 (GDB 7.6.1 does not work with binutils 2.24 on MIPS16 and microMIPS)

August 30th, 2013: GDB 7.6.1 Released!

April 26th, 2013: GDB 7.6 Released!

The latest version of GDB, version 7.6, is available for download. Changes in this release include: New native configurations (ARM AArch64 GNU/Linux, FreeBSD/powerpc, 86_64/Cygwin and Tilera TILE-Gx GNU/Linux)

New target configurations (ARM AArch64, ARM AArch64 GNU/Linux, Lynx 178 PowerPC, x86_64/Cygwin, and Tilera TILE-Gx GNU/Linux)

Support for the "mini debuginfo" section, .gnu_debugdata

The C++ ABI now defaults to the GNU v3 ABI

More Python scripting improvements

Some GDB/MI improvements

New configure options, new commands, and options

New remote packets

A new "target record-btrace" has been added while the "target record" command has been renamed to "target record-full" See the NEWS file for a more complete and detailed list of what this release includes.

March 12th, 2013: GDB 7.6 branch created

The GDB 7.6 branch ( gdb_7_6-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_6-branch gdb

November 29th, 2012: GDB 7.5.1 Released!

The latest version of GDB, version 7.5.1, is available for download. This is a minor corrective release over GDB 7.5, fixing the following issues: An "Attempt to dereference a generic pointer" errors (-var-create).

Backtrace problems on x32 (PR backtrace/14646).

next/step/finish problems on x32 (PR gdb/14647).

A "malformed linespec error: unexpected keyword, [...]" error (PR breakpoints/14643).

GDB crash while stepping through powerpc (32bits) code.

A failed assertion in linux_ptrace_test_ret_to_nx.

A "!frame_id_inlined_p (frame_id)" failed assertion.

A "No more reverse-execution history." error during reverse "next" execution (PR 14548).

Incomplete command descriptions in "apropos" output.

PR gdb/14494 (a GDB crash difficult to characterize).

Various build warnings.

August 17th, 2012: GDB 7.5 Released!

The latest version of GDB, version 7.5, is available for download. Changes in this release include: Go language support.

New targets (x32 ABI, microMIPS, Renesas RL78, HP OpenVMS ia64).

More Python scripting improvements.

SDT (Static Defined Tracing) probes support with SystemTap probes.

GDBserver improvements (stdio connections, target-side evaluation of breakpoint conditions, remote protocol improvements).

Other miscellaneous improvements (ability to stop when a shared library is loaded/unloaded, dynamic printf, etc).

Reverse debugging on ARM.

The binary "gdbtui" has been abandoned and can no longer be built. Use "gdb -tui" instead. See the NEWS file for a more complete and detailed list of what this release includes.

July 17th, 2012: GDB 7.5 branch created

The GDB 7.5 branch ( gdb_7_5-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_5-branch gdb

April 26th, 2012: GDB 7.4.1 Released!

The latest version of GDB, version 7.4.1, is available for download. This is a minor corrective release over GDB 7.4, fixing the following issues: [GDB/MI] Error when resuming program execution in all-stop mode ("Cannot execute this command without a live selected thread").

[Pascal] Polluted display of class methods parameters.

[target remote] Errror when connecting to remote target where disconnected tracing is in effect.

[AVX] Float and ymm* register values not available.

[GDB] Crash when using the "finish" command.

[build] makeinfo should not be required to build GDB.

January 24th, 2012: GDB 7.4 Released!

The latest version of GDB, version 7.4, is available for download. Changes in this release include: Many Python scripting improvements

Better support for ambiguous linespecs

Masked watchpoints

Tracepoint support improvements

Support for Texas Instruments TMS320C6x (tic6x-*-*)

A Renesas RL78 simulator (rl78-*-elf)

Some minor Remote protocol extensions and GDB/MI changes See the NEWS file for a more complete and detailed list of what this release includes. Note that the gdbtui binary is deprecated, starting with GDB 7.5. Use "gdb -tui" instead.

January 9, 2012: Extensibility support using Guile

GDB ought to support extensibility using Guile, the GNU extensibility package (an implementation of Scheme). We are looking for people to write the code to interface the two. Please write to gdb-patches AT sourceware DOT org if you are interested.

December 13, 2011: GDB 7.4 branch created

The GDB 7.4 branch ( gdb_7_4-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_4-branch gdb

September 30, 2011: Release Mistakes in GDB Versions 6.0 - 7.3

September 4, 2011: GDB 7.3.1 Released!

The latest version of GDB, version 7.3.1, is available for download. This is a minor corrective release over GDB 7.3 mostly bringing: Build fixes for NetBSD / OpenBSD targets

ISBN and Edition number update of the GDB User's Manual

July 26, 2011: GDB 7.3 Released!

The latest version of GDB, version 7.3, is available for download. Changes in this release include: Initial OpenCL C support

C++ support enhancements

Improved Python support

ia64 HP-UX (native) and Blackfin (target) support

GDBserver support for PowerPC LynxOS, i686 LynxOS, and Blackfin Linux

Support for reading and writing a new .gdb_index section, containing a fast index of DWARF debugging info See the NEWS file for a more complete and detailed list of what this release includes.

April 03, 2011: GDB 7.3 branch created

The GDB 7.3 branch ( gdb_7_3-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_3-branch gdb

September 02, 2010: GDB 7.2 Released!

The latest version of GDB, version 7.2, is available for download. Changes in this release include: D language support

C++ support enhancements

Improved Python support

Tracepoint support enhancements, GDBserver support for tracepoints

GDBserver support for x86_64 Windows debugging

ARM Symbian support

Hardware-assisted watchpoint conditions on powerpc-linux See the NEWS file for a more complete and detailed list of what this release includes.

July 07, 2010: GDB 7.2 branch created

The GDB 7.2 branch ( gdb_7_2-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_2-branch gdb

March 18, 2010: GDB 7.1 Released!

The latest version of GDB, version 7.1, is available for download. Changes in this release include: Multi-program debugging support;

Position Independent Executable (PIE) debugging support;

New targets (including a simulator): Xilinx MicroBlaze and Renesas RX;

Python support enhancements;

C++ support extended;

New tracepoint features;

Process Record improvements;

Remote Protocol extensions; See the NEWS file for a more complete and detailed list of what this release includes.

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.

September 16, 2009: GDB 7.0 branch created

The GDB 7.0 branch ( gdb_7_0-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_0-branch gdb

September 6, 2009: Update: Reverse Debugging

GDB version 7.0, due to be released later this month, will include the first public releases of reverse debugging and Process Record and Replay. See the wiki page. The GDB maintainers are still looking for contributors interested in helping to extend and develop reverse debugging.

March 27, 2008: GDB 6.8 Released!

The latest version of GDB, version 6.8, is available for download. Changes in this release include: Support for native x86/Windows, NetBSD/hppa and Xtensa GNU/Linux

Support for multiple remote target architectures

Support for the Decimal Floating Point extension

Improved Ada and C++ debugging

GDB/MI interface improvements

Remote protocol and gdbserver enhancements

Various new commands See the NEWS file for a more complete and detailed list of what this release includes.

February 29, 2008: GDB 6.8 branch created

The GDB 6.8 branch ( gdb_6_8-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_8-branch gdb

October 29, 2007: GDB 6.7.1 Released!

The latest version of GDB, version 6.7.1, is available for download. See the ANNOUNCEMENT file for a more complete and detailed list of what this release includes.

October 10, 2007: GDB 6.7 Released!

The latest version of GDB, version 6.7, is available for download. Changes in this release include: New targets (OpenBSD/sh, MIPS64 GNU/Linux, mep-elf)

Support for XML target description

Improved C++ debugging

Remote protocol enhancements

Various new commands

some removed obsolete configurations and features See the NEWS file for a more complete and detailed list of what this release includes.

September 11, 2007: GDB 6.7 branch created

The GDB 6.7 branch ( gdb_6_7-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_7-branch gdb

December 18, 2006: GDB 6.6 Released!

The latest version of GDB, version 6.6, is available for download. Changes in this release include: New targets (xtensa-elf, spu-elf)

New remote stub ports (windows and cygwin)

GNU/Linux Thread Local Storage (TLS) enhancements

New remote protocol packets

Various new commands 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.

Nov 19, 2006: GDB 6.6 branch created

The GDB 6.6 branch ( gdb_6_6-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_6-branch gdb

June 20, 2006: GDB 6.5 Released!

The latest version of GDB, version 6.5, is available for download. Changes in this release include: New targets (m32c-elf, ms1-elf)

Improved Modula-2 support

Improved Windows host support (i686-mingw32)

Various new commands (see gdb/NEWS)

Checkpoint support (currently only supported on GNU/Linux)

GDB is now able to save a snapshot of a program's state, called a checkpoint, and come back to it later. By effectively undoing everything that has happened since a checkpoint was saved, this feature is like going back in time since the checkpoint was saved. See the NEWS file for a more complete and detailed list of what this release includes.

May 16, 2006: GDB 6.5 branch created

The GDB 6.5 branch ( gdb_6_5-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_5-branch gdb

December 2, 2005: GDB 6.4 Released!

The latest version of GDB, version 6.4, is available for download. Changes in this release include: New native configurations (OpenBSD/arm, OpenBSD/mips64)

New targets (ms1-elf, mn10300-elf)

User-level thread support in BSD

It is now possible to debug programs using the user-level threads library on selected targets running OpenBSD and FreeBSD. See the NEWS file for a more complete and detailed list of what this release includes.

November 2, 2005: GDB 6.4 branch created

The GDB 6.4 branch ( gdb_6_4-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_4-branch gdb

November 9, 2004: GDB 6.3 Released!

The latest version of GDB, version 6.3, is available for download. Changes in this release include: GDB works with GCC -feliminate-dwarf2-dups

GDB now supports a more compact representation of DWARF-2 debug information using DW_FORM_ref_addr references. These are produced by GCC with the option -feliminate-dwarf2-dups and also by some proprietary compilers. With GCC, you must use GCC 3.3.4 or later to use -feliminate-dwarf2-dups.

GDB now supports a more compact representation of DWARF-2 debug information using DW_FORM_ref_addr references. These are produced by GCC with the option -feliminate-dwarf2-dups and also by some proprietary compilers. With GCC, you must use GCC 3.3.4 or later to use -feliminate-dwarf2-dups. Internationalization

When supported by the host system, GDB will be built with internationalization (libintl). The task of marking up the sources is continued, we're looking forward to our first translation.

When supported by the host system, GDB will be built with internationalization (libintl). The task of marking up the sources is continued, we're looking forward to our first translation. Ada

Initial support for debugging programs compiled with the GNAT implementation of the Ada programming language has been integrated into GDB. In this release, support is limited to expression evaluation.

October 19, 2004: GDB 6.3 branch created

The GDB 6.3 branch ( gdb_6_3-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_3-branch gdb

September 7, 2004: GDB 6.2.1 Released!

The latest version of GDB, version 6.2.1, is available for download. Changes in this update include: Improved i386 prologue analyzer

The i386 prologue analyzer was improved to deal better with the prologues generated by GCC 3.3 and later. As a result GDB should produce better backtraces for code without DWARF Call Frame Info.

The i386 prologue analyzer was improved to deal better with the prologues generated by GCC 3.3 and later. As a result GDB should produce better backtraces for code without DWARF Call Frame Info. MIPS `break main; run' gave an heuristic-fence-post warning

When attempting to run even a simple program, a warning about heuristic-fence-post being hit would be reported. This problem has been fixed.

When attempting to run even a simple program, a warning about heuristic-fence-post being hit would be reported. This problem has been fixed. MIPS IRIX 'long double' crashed GDB

When examining a long double variable, GDB would get a segmentation fault. The crash has been fixed (but GDB 6.2 cannot correctly examine IRIX long double values).

When examining a long double variable, GDB would get a segmentation fault. The crash has been fixed (but GDB 6.2 cannot correctly examine IRIX long double values). VAX and "next"

A bug in the VAX stack code was causing problems with the "next" command. This problem has been fixed. Thanks goes to Mark Kettenis and Joel Brobecker for contributing fixes.

July 30, 2004: GDB 6.2 Released!

The latest version of GDB, version 6.2, is available for download. Please note that GDB 6.2 has serious problems on MIPS native. It will be addressed in the next update.

July 10, 2004: GDB 6.2 branch created

The GDB 6.2 branch ( gdb_6_2-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_2-branch gdb

June 16, 2004: GDB 6.1.1 Released!

GDB version 6.1.1 has been released.

Much thanks to all the contributors.

April 4, 2004: GDB 6.1 Released!

GDB version 6.1 has been released.

Much thanks to all the contributors.

March 1, 2004: GDB 6.1 branch created

The GDB 6.1 branch ( gdb_6_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_6_1-branch gdb+dejagnu

October 3, 2003: GDB 6.0 Released!

GDB version 6.0 has been released.

Much thanks to all the contributors.

September 18, 2003: New SPARC branch

Mark Kettenis has create a new SPARC branch (kettenis_sparc-20030918-branch) and is using it to reimplement the SPARC architecture so that it works with the latest frame and related changes. People encountering problems with SPARC GDB should check out this branch.

June 23, 2003: GDB 6 branch created

The GDB 6.0 branch ( gdb_6_0-branch ) has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_0-branch gdb+dejagnu

February 26, 2003: ADA 5.3 tar ball

Act have updated their contrib directory with a version of GDB 5.3 that includes Ada support.

December 12, 2002: GDB 5.3 Released!

GDB version 5.3 has been released.

Much thanks to all the contributors.

September 4, 2002: GDB 5.3 branch created

The GDB 5.3 branch ( gdb_5_3-branch )has been created. To check out a copy of the branch use: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_5_3-branch gdb+dejagnu

August 01, 2002: Obsolete functionality

The following GDB functionality has been made obsolete. Mitsubishi D30V

OS/9000

Fujitsu FR30

Motorola Delta 88000 running Sys V

CHILL, a Pascal like language used by telecommunications companies.

July 23, 2002: GDB 5.2.1 Released!

GDB version 5.2.1 has been released.

Much thanks to all the contributors.

July 9, 2002: FORTRAN 95 Code Dropping

Petr Sorfa (Caldera) has contributed patches against GDB 5.1.1 that add support for FORTRAN 95. It even includes support for a location expression parser and support for many other DWARF[23] extensions.

May 5, 2002: Macro Support

Jim Blandy (Red Hat) has added support for C/C++ preprocessor macros to GDB. GDB can expand preprocessor macro invocations in C/C++ expressions, and provides various commands for showing macro definitions and how they expand. Most compilers don't include information about macros in the debugging information by default. In GCC 3.1, for example, you need to compile your program with the options -gdwarf-2 -g3 . If the macro information is present in the executable, GDB will read it.

April 30, 2002: GDB 5.2 Released!

GDB version 5.2 has been released.

Much thanks to all the contributors. The GDB 5.2 branch can be checked out using: cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r gdb_5_2-branch gdb+dejagnu

March 5, 2002: GDB 5.2 branch created

The branch tag is gdb_5_2-branch and the branch can be checked out using: cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r gdb_5_2-branch gdb+dejagnu Alternativly, a snapshot take from the branch can be downloaded from the directory: ftp://sourceware.org/pub/gdb/snapshots/branch These snapshots are mirrored so it may pay to check for a more local site.

January 24, 2002: GDB 5.1.1 Released!

GDB version 5.1.1 has been released.

Much thanks to all the contributors. The GDB 5.1 branch can be checked out using: cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r gdb_5_1-2001-07-29-branch gdb+dejagnu

December 16, 2001: Code droppings

Jason Molenda (Apple) and Paul Hilfinger A.C.T. have contributed major changes, in the form of snapshots, to GDB. Apple's snapshot includes support for MacOS X and Objective C++. Act's snapshot contains support for GNU Ada. While much much work is still needed before these changes can be integrated into GDB this does mean that the changes are available.

November 26, 2001: GDB --args option

Tom Tromey has committed patches that add support for a --args option. It is now possible to enter sequences like: $ ./my broken program segmentation fault. $ gdb --args ./my broken program

November 21, 2001: GDB 5.1 Released!

GDB version 5.1 has been released.

Much thanks to all the contributors.

November 11, 2001: GDB 5.0.93 available

GDB 5.0.93, taken from the GDB 5.1 branch, is available.

November 8, 2001: i386 target multi-arch enabled

All i386 targets have been partially multi-arched. While their conversion to full multi-arch is on going, this does mean that the i386 target has access to features (such as multi-isa support) only available in a multi-arch GDB

November 7, 2001: The partial-stab.h dragon is dead

Elena Zannoni has committed changes that slay the partial-stab.h dragon. This dragon blocked the door of the non-dwarf symtab readers and would kill anyone that attempted to submit changes.

October, 30, 2001: GDB 5.0.92 available

GDB 5.0.92, taken from the GDB 5.1 branch, has been made available.

September 13, 2001: S390 target committed

DJ Barrow, of IBM, has contributed a port of GDB to the s390 GNU/Linux platform. It has been committed to both the trunk and the 5.1 branch.

August 18, 2001: sourceware.org down Sunday morning 2001-08-19 UCT

The machine sourceware.org , which hosts the GDB CVS repository, mailing lists and these web pages, will be unavailable for roughly an hour from 2001-08-19 0700 UCT. During this time the machine will be physically moved to a co-location. This, among the many other advantages, will significantly improve the machines available bandwidth.

July 29, 2001: GDB 5.1 branch created

The branch tag is gdb_5_1-2001-07-29-branch .

Snapshots of the branch are available for download from the snapshots directory.

Alternativly, the branch can be checked out using the CVS command: cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r gdb_5_1-2001-07-29-branch gdb dejagnu

July 11, 2001: Tentative Release Schedule for GDB 5.1

A Tentative Relese Schedule for GDB 5.1 has been posted. At this stage, it is hoped that the 5.1 branch will be cut on or around 2001-07-22.

A paper discussing the full set of changes necessary to complete the multi-arch work (so that targets with different architectures are supported) has been posted.

April 30, 2001: 5.1 Target elimination phase complete

As part of the 5.1 release cycle the following targets have been marked as obsolete: x86 FreeBSD before 2.2 i[3456]86*-freebsd{1,2.[01]}*, Harris/CXUX m88k m88*-harris-cxux* Most ns32k hosts and targets ns32k-*-mach3* ns32k-umax-* ns32k-utek-sysv* ns32k-utek-* TI TMS320C80 tic80-*-* WDC 65816 w65-*-* Ultracomputer (29K) running Sym1 a29k-nyu-sym1 a29k-*-kern* PowerPC Solaris powerpcle-*-solaris* PowerPC Windows NT powerpcle-*-cygwin32 PowerPC Netware powerpc-*-netware* SunOS 4.0.Xi on i386 i[3456]86-*-sunos* Sony NEWS (68K) running NEWSOS 3.x m68*-sony-sysv news ISI Optimum V (3.05) under 4.3bsd. m68*-isi-* Apple Macintosh (MPW) host N/A stuff.c (Program to stuff files into a specially prepared space in kdb) kdb-start.c (Main loop for the standalone kernel debugger) Configurations that have been declared obsolete in this release have been commented out. Unless there is activity to revive these configurations, the next release of GDB will have their sources permanently REMOVED.

January 18, 2001: GDB Test results web page

Chris Faylor and Tom Tromey have set up the Terf system as a way of publishing GDB testresults. See http://sourceware.org/cgi-bin/gdb.cgi

October 28, 2000: Bug tracking system live

In an effort to stop bugs slipping through the cracks, a bug tracking database has been established.

July 10, 2000: PARAMS free zone

The K&R compatible PARAMS macro has gone

Kevin Buettner as completed his elimination of the PARAMS macro from the GDB sources. Developers no longer need to worry about old style declarations.

July 7, 2000: Readline 4.1 imported

Elena Zannoni has completed the import of Readline 4.1 The updating of GDB's version of readline to 4.1 was one of the key objectives of GDB 5.1

June 8, 2000: MIPS switched to multi-arch

All the MIPS targets (native or cross) have been swiched to the mult-arch framework. That framework facilitates previous impossible functionality such as support for differing ISAs (Instruction Set Architectures) and ABIs (Application Binary Interfaces). The branch gdb-premipsmulti-2000-06-06-branch has been created and was taken just before the switch was made. If problems with your MIPS target are found please compare results with those from that branch.

May 24, 2000: netwinder.org add GDB build farm

netwinder.org have added a GDB build farm. Check http://www.netwinder.org/build/gdb.html. Both armv3l-unknown-linux-gnu and armv4l-unknown-linux-gnu are being build.

May 19, 2000: GDB 5.0 Released!

GDB version Five has been released.

Much thanks to all the contributors.

Late breaking bugs and fixes are being added to the Errata page

April 10, 2000: GDB 5.0 branch created

The branch tag is gdb_5_0-2000-04-10-branch .

Snapshots of the branch are available for download from the snapshots directory.

Alternativly, the branch can be checked out using the CVS command: cvs -z9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r gdb_5_0-2000-04-10-branch gdb dejagnu

Feb, 2000: GDB 5.0 release cycle started

See the TODO file for an up-to-date status report.

April 10, 1999: GDB 4.18 is released!

See the GDB 4.18 announcement for details about 4.18.

July 27, 1999: Insight is released!