[image of Archer Fish]

GDB: The GNU Project Debugger

[bugs] [GDB Maintainers] [contributing] [current git] [documentation] [download] [home] [irc] [links] [mailing lists] [news] [schedule] [song] [wiki]

GDB News

September 13th, 2021: GDB 11.1 Released!

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

This version of GDB includes the following changes and enhancements:

  • Support for ARM Symbian (arm*-*-symbianelf*) has been removed.
  • Building GDB now requires GMP (The GNU Multiple Precision Arithmetic Library).
  • New command-line options "--early-init-command" (or "-eix") and "--early-init-eval-command" (or "-eiex")
  • GDB/MI Changes:
    • New --qualified option for the '-break-insert' and '-dprintf-insert' commands.
    • New --force-condition option for the '-break-insert' and '-dprintf-insert' commands.
    • New --force option for the '-break-condition' command.
    • The '-file-list-exec-source-files' now accepts an optional regular expression to filter the source files included in the result.
    • The results from '-file-list-exec-source-files' now include a 'debug-fully-read' field to indicate if the corresponding source's debugging information has been partially read (false) or has been fully read (true).
  • TUI Improvements:
    • Mouse actions are now supported. The mouse wheel scrolls the appropriate window.
    • Key combinations that do not have a specific action on the focused window are now passed to GDB.
  • Python enhancements:
    • Inferior objects now contain a read-only 'connection_num' attribute that gives the connection number as seen in 'info connections' and 'info inferiors'.
    • New method gdb.Frame.level() which returns the stack level of the frame object.
    • New method gdb.PendingFrame.level() which returns the stack level of the frame object.
    • When hitting a catchpoint, the Python API will now emit a gdb.BreakpointEvent rather than a gdb.StopEvent. The gdb.Breakpoint attached to the event will have type BP_CATCHPOINT.
    • Python TUI windows can now receive mouse click events. If the Window object implements the click method, it is called for each mouse click event in this window.
    • New setting "python ignore-environment on|off"; if "on", causes GDB's builtin Python to ignore any environment variable that would otherwise affect how Python behaves (needs to be set during "early initialization" (see above).
    • New setting "python dont-write-bytecode auto|on|off".
  • Guile API enhancements:
    • Improved support for rvalue reference values.
    • New procedures for obtaining value variants: value-reference-value, value-rvalue-reference-value and value-const-value.
  • New "qMemTags" and "QMemTags" remote protocol packets (associated with Memory Tagging).
  • GDB will now look for the .gdbinit file in a config directory before looking for ~/.gdbinit. The file is searched for in the following locations: $XDG_CONFIG_HOME/gdb/gdbinit, $HOME/.config/gdb/gdbinit, $HOME/.gdbinit. On Apple hosts the search order is instead: $HOME/Library/Preferences/gdb/gdbinit, $HOME/.gdbinit.
  • The "break [...] if CONDITION" command no longer returns an error when the condition is invalid at one or more locations. Instead, if the condition is valid at one or more locations, the locations where the condition is not valid are disabled.

    The behavior of the "condition" command is changed to match the new behavior of the "break" command.

  • Support for general memory tagging functionality (currently limited to AArch64 MTE)
  • Core file debugging now supported for x86_64 Cygwin programs.
  • New "org.gnu.gdb.riscv.vector" feature for RISC-V targets.
  • GDB now supports fixed point types which are described in DWARF as base types with a fixed-point encoding. Additionally, support for the DW_AT_GNU_numerator and DW_AT_GNU_denominator has also been added.
  • Miscellaneous:
    • New "startup-quietly on|off" setting; when "on", behaves the same as passing the "-silent" option on the command line.
    • New "print type hex on|off" setting; when 'on', the 'ptype' command uses hexadecimal notation to print sizes and offsets of struct members. When 'off', decimal notation is used.
    • The "inferior" command, when run without argument, prints information about the current inferior.
    • The "ptype" command now supports "/x" and "/d", affecting the base used to print sizes and offsets.
    • The output of the "info source" has been restructured.
    • New "style version foreground | background | intensity" commands to control the styling of the GDB version number.
    • Various debug and maintenance commands (mostly useful for the GDB developers)
See the NEWS file for a more complete and detailed list of what this release includes.

July 3rd, 2021: GDB 11 branch created

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

git clone --branch gdb-11-branch git://sourceware.org/git/binutils-gdb.git

Apr 25th, 2021: GDB 10.2 Released!

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

This is a minor corrective release over GDB 10.1, fixing the following issues:

  • PR remote/26614 (AddressSanitizer: heap-use-after-free of extended_remote_target in remote_async_inferior_event_handler)
  • PR gdb/26828 (SIGSEGV in follow_die_offset dwarf2/read.c:22950)
  • PR gdb/26861 (internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. OS: Mac OSX Catalina; Compiler: GCC; Language: C)
  • PR gdb/26876 (gdb error: internal-error: Unknown CFA rule when debugging the linux kernel with qemu)
  • PR breakpoints/26881 (infrun.c:6384: internal-error: void process_event_stop_test(execution_control_state*): Assertion `ecs->event_thread->control.exception_resume_breakpoint != NULL' failed)
  • PR gdb/26901 (Array subscript fails with flexible array member without size)
  • PR tui/26973 (gdb crashes when not including the status window in a new layout)
  • PR python/26974 (Wrong Value.format_string docu for static members argument)
  • PR breakpoints/27009 ([s390] GDB branches randomly for BC instruction while displaced stepping)
  • PR tdep/27015 (ARC: "eret" value is collected from the wrong data in register cache)
  • PR backtrace/27147 ([GNU/Linux, sparc64] GDB is unable to print full stack trace (got "previous frame inner to this frame" errors))
  • PR rust/27194 (put rust demangler on 10.x branch)
  • PR threads/27239 (gdb/cp-support.c:1619:(.text+0x5502): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for thread_local_segv_handler')
  • PR breakpoints/27330 (nextoverthrow.exp FAILs on arm-none-eabi)
  • PR symtab/27333 ([dwarf-5] abort on unhandled DW_TAG_type_unit in process_psymtab_comp_unit)
  • PR fortran/27341 ([dwarf-5] FAIL: gdb.fortran/function-calls.exp: p derived_types_and_module_calls::pass_cart_nd(c_nd))
  • PR tdep/27369 (ARC: Stepping over atomic instruction sequences loops infinitely)
  • PR build/27385 (Cannot compile arc.c with gcc-4.8 (error: no matching function for call to 'std::pair...'))
  • PR gdb/27435 (Attach on solaris segfaults GDB)
  • PR build/27535 (amd64-linux-siginfo.c fails to compile after updating to glibc-2.33 headers)
  • PR build/27536 (aarch64-linux-hw-point.c fails to compile after updating to glibc-2.33)
  • PR symtab/27541 (gdb crashes on "file -readnow")
  • PR gdb/27750 (local variables have wrong address and values on sparc64)
  • PR varobj/27757 (-var-list-children coredump)

October 24th, 2020: GDB 10.1 Released!

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

This version of GDB includes the following changes and enhancements:

  • Support for debugging new targets:
    • BPF (bpf-unknown-none)
  • GDBserver support for the following targets:
    • ARC GNU/Linux
    • RISC-V GNU/Linux
  • Multi-target debugging support (experimental)
  • Support for debuginfod, an HTTP server for distributing ELF/DWARF debugging information as well as source code.
  • Support for debugging a 32-bit Windows program using a 64-bit Windows GDB.
  • Support for building GDB with GNU Guile 3.0 and 2.2 (in addition to 2.0)
  • Improved performance during startup through the use of threading during symbol table loading (an optional feature in GDB 9, now enabled by default in GDB 10).
  • Various enhancements to the Python and Guile APIs
  • Various TUI Mode fixes and enhancements.
  • Other miscellaneous enhancements:
    • Detection when attaching to a process of a mismatch between this process and the executable previously loaded into GDB.
    • Support for default arguments for "alias" commands.
  • GDBserver support for the following host triplets has been removed:
    • i[34567]86-*-lynxos*
    • powerpc-*-lynxos*
    • i[34567]86-*-nto*
    • bfin-*-*linux*
    • crisv32-*-linux*
    • cris-*-linux*
    • m32r*-*-linux*
    • tilegx-*-linux*
    • arm*-*-mingw32ce*
    • i[34567]86-*-mingw32ce*
See the NEWS file for a more complete and detailed list of what this release includes.

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", "+", "-", ">", "<" TUI commands are now case sensitive;
    • 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!

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

This is a minor corrective release over GDB 8.3, fixing the following issues:

  • PR c++/20020 (GDB segfault on printing objects)
  • PR gdb/24454 (nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed)
  • PR breakpoints/24541 (Incorrect evaluation of systemtap probes due to register being signed and probe expression assuming unsigned)
  • PR symtab/24545 (Symbol loading performance regression with cc1)
  • PR gdb/24592 (amd64->i386 linux syscall restart problem)
  • PR gdb/25009 (terminate called after throwing an instance of 'srchilite::ParserException')
  • PR gdb/25010 (Calls to error () can cause SIGTTOU to send gdb to the background)
  • PR breakpoints/25011 (Breakpoints on file reloads broken for PIE binaries)
This corrective release also brings the following testsuite fixes and enhancements:

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!

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

This is a minor corrective release over GDB 8.2, fixing the following issues:

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!

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

This is a minor corrective release over GDB 8.1, fixing the following issues:

  • PR gdb/22824 (misleading description of new rbreak Python function in GDB 8.1 NEWS file)
  • PR gdb/22849 (ctrl-c doesn't work in extended-remote)
  • PR gdb/22907 ([Regression] gdbserver doesn't work with filename-only binaries)
  • PR gdb/23028 (inconsistent disassemble of vcvtpd2dq)
  • PR gdb/23053 (Fix -D_GLIBCXX_DEBUG gdb-add-index regression)
  • PR gdb/23127 ([AArch64] GDB cannot be used for debugging software that uses high Virtual Addresses)
  • PR server/23158 (gdbserver no longer functional on Windows)
  • PR breakpoints/23210 ([8.1/8.2 Regression] Bogus Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3)

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!

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

This is a minor corrective release over GDB 8.0, fixing the following issues:

  • PR breakpoint/21886 (Compressed MIPS code debugging impossible due to memory breakpoint misplacement)
  • PR symtab/22002 (Assertion on debuggee built with -gdwarf-5 -fdebug-types-section)
  • PR symtab/22003 (Incompatibility with -gdwarf-5 - DW_FORM_implicit_const)
  • PR gdb/22046 (Regression on older kernels for T (stopped) processes)
  • PR sim/20863 (gdb-7.12 powerpc-rtems4.12-gdb does not build on FreeBSD)
  • PR breakpoint/21555 ("error re-setting breakpoint" on PIE executables)
  • PR tdep/21717 ("print $fpscr" says "" until some VFP data register is printed)
  • PR exp/21827 (Regression: gdb command lookup became case-sensitive; but definitions are forced into lowercase)
  • PR remote/22021 (Multi-arch exec fails with a remote target)

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).
  • 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!

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:

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!

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

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

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!

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

This is a minor corrective release over GDB 7.8, fixing the following issues:

  • PR python/17364 (Need better printer names in bound_registers.py)
  • PR build/17104 (CFLAGS="-Wall -Wextra" gdb/confgure --with-babeltrace fails)
  • PR gdb/17345 (babeltrace (1.1.2 and later) complains about the ctf data generated by GDB)
  • PR build/17298 (gcore: Couldn't get registers: No such process)
  • PR python/17342 (Xmethod Python is not Python 3 compatible)
  • PR python/17355 (Crash on Python frame filters with unreadable arg)
  • PR guile/17367 (computation of guild path wrong when pkg-config script supplied as arg to --with-guile)
  • PR gdb/17247 (gdb freezes on multi threaded app)
  • PR gdb/17347 (Regression: GDB stopped on run with attached process)
  • PR gdb/17407 (Regression for Linux vDSO reading)
  • PR server/17457 (aarch64/gdbserver: wrong floating point registers display)
  • PR server/17487 (state->dr_control_mirror == 0 failed assertion in gdbserver on Windows)
  • PR gdb/17472 (with annotations, input while executing in the foreground crashes readline/gdb)
  • PR gdb/17471 (repeating a background command makes it foreground)
  • PR cli/17300 (crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!))
  • PR python/17372 (python hangs when displaying help())
  • PR python/17408 (../../gdb/infrun.c:5256: internal-error: switch_back_to_stepped_thread: Assertion `!schedlock_applies(1)' failed.)

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!

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

This is a minor corrective release over GDB 7.7, fixing the following issues:

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:

August 30th, 2013: GDB 7.6.1 Released!

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

This is a minor corrective release over GDB 7.6, fixing the following issues:

  • PR tdep/15420 (Cannot debug threaded programs on newer versions of x86-solaris - Solaris 10, Update 10 or later)
  • PR remote/15455 (QTro remote packet broken)
  • PR build/15476 (Build failure due to incomplete enum type in utils.h)
  • PR server/15594 (tls support in 64x32 x86 gdbserver doesn't extend address to 64 bit)
  • PR server/15075 (dprintf inteferes with "next")
  • PR server/15434 (dprintf uses a synchronous 'continue' even in non-stop mode)
  • PR tui/14880 (In split register layouts, up results in assertion failure in value.c)
  • PR c++/15519 (GDB 7.6 is 94x slower than GDB 7.5.1 using a certain core file)
  • PR gdb/15837 (GDB prints entry values for local variables)
  • PR gdb/15415 (gdb resolves symbolic links when passing argv[0])
  • PR cli/15603 (CTRL-C can no longer interrupt inferior)
  • PR gdb/15604 (gdbserver socket leak 7.5 regression)

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

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:

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.
  • 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.
  • 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.
  • 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.
  • 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).
  • 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日.

June 11, 2001: Multi-arch strategy white paper

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!

The first release of the Insight GUI for GDB has been made. Insight is a tcl/tk based GUI for GDB which has been in development for about five years. Check it out.

[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 2021年10月08日.

AltStyle によって変換されたページ (->オリジナル) /