- GDB 8.0.1 released!
+ GDB 8.1 released!
-Release 8.0.1 of GDB, the GNU Debugger, is now available via anonymous
+Release 8.1 of GDB, the GNU Debugger, is now available via anonymous
FTP. GDB is a source-level debugger for Ada, C, C++, Objective-C,
Pascal and many other languages. GDB can target (i.e., debug programs
running on) more than a dozen different processor architectures, and GDB
The vital stats:
Size md5sum Name
- 19MiB 48cac527e6f3018b865ece021e9723ac gdb-8.0.1.tar.xz
- 35MiB bb45869f8126a84ea2ba13a8c0e7c90e gdb-8.0.1.tar.gz
+ 20MiB f46487561f9a16916a8102316f7fd105 gdb-8.1.tar.xz
+ 36MiB 0c85ecbb43569ec43b1c9230622e84ab gdb-8.1.tar.gz
There is a web page for GDB at:
on-line as any problems come up. All mailing lists archives are also
browsable via the web.
-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.
+GDB 8.1 includes the following changes and enhancements:
-GDB 8.0.1 brings the following fixes and enhancements over GDB 8.0:
+ * Breakpoints on C++ functions are now set on all scopes by default
+ ("wild" matching);
- * 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 "<unavailable>" 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)
+ * Support for inserting breakpoints on functions marked with C++ ABI tags;
-GDB 8.0 brings the following fixes and improvements, including:
+ * Target floating-point arithmetic emulation during expression evaluation
+ (requires MPFR 3.1 or later);
- * C++: Support for rvalue references
+ * Various Python Scripting enhancements;
- * Python scripting enhancements:
- ** New functions to start, stop and access a running btrace recording.
- ** Rvalue reference support in gdb.Type.
+ * Improved Rust support; in particular, Trait objects can now be inspected
+ when debugging Rust code;
- * GDB commands interpreter:
- ** User commands now accept an unlimited number of arguments.
- ** The "eval" command now expands user-defined arguments.
+ * GDB no longer makes assumptions about the type of symbols without
+ debugging information to avoid producing erroneous and often confusing
+ results;
- * DWARF version 5 support
- (note that its .debug_names index is not supported yet).
+ * The 'enable' and 'disable' commands now accept a range of breakpoint
+ locations;
- * 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.
+ * New 'starti' command to start the program at the first instruction;
- * Support for native FreeBSD/mips (mips*-*-freebsd)
+ * New 'rbreak' command to insert a number of breakpoints via a regular
+ expression pattern (requires Python);
- * Support for the following targets:
- ** Synopsys ARC (arc*-*-elf32)
- ** FreeBSD/mips (mips*-*-freebsd)
+ * The 'ptype' command now supports printing the offset and size of
+ the fields in a struct;
- * 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.
+ * The 'gcore' command now supports dumping all the memory mappings
+ ('-a' command-line option);
-Support for the following features have been removed:
+ * New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti;
- * Support for Java programs compiled with gcj
+ * 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;
- * Support for the following configurations:
- ** FreeBSD/alpha (alpha*-*-freebsd*)
- ** GNU/kFreeBSD/alpha (alpha*-*-kfreebsd*-gnu)
+ * Various completion enhancements;
-For a complete list and more details on each item, please see the
-gdb/NEWS file.
+ * 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]);
+
+For a complete list and more details on each item, please see the gdb/NEWS
+file, available at:
+https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-8.1-release
<!-- body, update above using ../../gdb/index.sh -->
-<h3>The most recent release (<a href="ANNOUNCEMENT">GDB 8.0.1</a>):</h3>
+<h3>The most recent release (<a href="ANNOUNCEMENT">GDB 8.1</a>):</h3>
You can download the most recent official release of GDB from either
Project GNU's FTP server, or Red Hat's sources site:
<p>Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.</p>
-<p>Last modified 2017-09-26.</p>
+<p>Last modified 2018-01-31.</p>
</address>
</body>
on the same machine as GDB (native) or on another machine (remote). GDB
can run on most popular UNIX and Microsoft Windows variants.<p>
-<h3>GDB version 8.0.1</h3>
+<h3>GDB version 8.1</h3>
-Version <a href="../gdb/download/ANNOUNCEMENT">8.0.1</a> of GDB, the GNU
+Version <a href="../gdb/download/ANNOUNCEMENT">8.1</a> of GDB, the GNU
Debugger, is now available for <a
href="../gdb/download/">download</a>. See the <a
href="../gdb/download/ANNOUNCEMENT">ANNOUNCEMENT</a> for details
-->
+<dt>January 31st, 2018: <b>GDB 8.1 Released!</b></dt>
+<dd>
+<p> The latest version of GDB, version 8.1, is available for <a
+href="../gdb/download/">download</a>.
+<p>
+Changes in this release include:
+<ul>
+ <li> Breakpoints on C++ functions are now set on all scopes by default ("wild" matching);
+ <li> Support for inserting breakpoints on functions marked with C++ ABI tags;
+ <li> Target floating-point arithmetic emulation during expression evaluation (requires MPFR 3.1 or later);
+ <li> Various Python Scripting enhancements;
+ <li> Improved Rust support; in particular, Trait objects can now be inspected when debugging Rust code;
+ <li> GDB no longer makes assumptions about the type of symbols without debugging information to avoid producing erroneous and often confusing results;
+ <li> The 'enable' and 'disable' commands now accept a range of breakpoint locations;
+ <li> New 'starti' command to start the program at the first instruction;
+ <li> New 'rbreak' command to insert a number of breakpoints via a regular expression pattern (requires Python);
+ <li> The 'ptype' command now supports printing the offset and size of the fields in a struct;
+ <li> The 'gcore' command now supports dumping all the memory mappings ('-a' command-line option);
+ <li> New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti;
+ <li> GDBserver enhancements:
+ <ul>
+ <li> Support for transmitting environment variables to GDBserver;
+ <li> Support for starting inferior processes with a specified initial working directory;
+ <li> On Unix systems, support for globbing expansion and variable substitution of inferior command-line arguments;
+ </ul>
+ <li> Various completion enhancements;
+ <li> The command used to compile and inject code with the 'compile' command is now configurable;
+ <li> New '--readnever' command-line option to speed the GDB startup when debugging information is not needed;
+ <li> Support for the following new native configurations:
+ <ul>
+ <li> FreeBSD/aarch64 (aarch64*-*-freebsd*);
+ <li> FreeBSD/arm (arm*-*-freebsd*);
+ </ul>
+ <li> Support for the following new targets:
+ <ul>
+ <li> FreeBSD/aarch64 (aarch64*-*-freebsd*);
+ <li> FreeBSD/arm (arm*-*-freebsd*);
+ <li> OpenRISC ELF (or1k*-*-elf)
+ </ul>
+ <li> Removed support for the following targets and native configurations:
+ <ul>
+ <li> Solaris2/x86 (i?86-*-solaris2.[0-9]);
+ <li> Solaris2/sparc (sparc*-*-solaris2.[0-9]);
+ </ul>
+</ul>
+
+See the <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-8.1-release">NEWS</a> file for a more complete and detailed list of what this release includes.
+<p>
+</dd>
+
<dt>January 5th, 2018: <b>GDB 8.1 branch created</b></dt>
<dd>
<p> The GDB 8.1 branch (<tt>gdb-8.1-branch</tt>) has been created.
<p>
</dd>
-<dt>June 4th, 2017: <b>GDB 8.0 Released!</b></dt>
-<dd>
-<p> The latest version of GDB, version 8.0, is available for <a
-href="../gdb/download/">download</a>.
-<p>
-Building this version of GDB now requires the following tools:
-<ul>
- <li> A C++-11 compiler (for instance, GCC 4.8 or later);
- <li> GNU make version 3.81 or later.
-</ul>
-
-Changes in this release include:
-<ul>
- <li> C++: Support for rvalue references
- <li> Python scripting enhancements:
- <ul>
- <li> New functions to start, stop and access a running btrace recording.
- <li> Rvalue reference support in gdb.Type.
- </ul>
- <li> GDB commands interpreter:
- <ul>
- <li> User commands now accept an unlimited number of arguments.
- <li> The "eval" command now expands user-defined arguments.
- </ul>
- <li> DWARF version 5 support<br>
- (note that its .debug_names index is not supported yet).
- <li> GDB/MI enhancements:
- <ul>
- <li> New -file-list-shared-libraries command to list the shared
- libraries in the program.
- <li> New -target-flash-erase command, to erase flash memory.
- </ul>
- <li> Support for native FreeBSD/mips (mips*-*-freebsd)
- <li> Support for the following targets:
- <ul>
- <li> Synopsys ARC (arc*-*-elf32)
- <li> FreeBSD/mips (mips*-*-freebsd)
- </ul>
- <li> Miscellaneous enhancements:
- <ul>
- <li> Command-line redirection now supported on MS-Windows hosts.
- <li> Support for thread names on MS-Windows.
- <li> Support for the PKU register on GNU/Linux.
- <li> Support for Target descriptions on sparc32 and sparc64.
- <li> New GDB/CLI command to erase flash memory
- <li> rdrand and rdseed instructions record/replay support.
- </ul>
-</ul>
-
-Support for the following features have been removed:
-<ul>
- <li> Support for Java programs compiled with gcj
- <li> Support for the following configurations:
- <ul>
- <li> FreeBSD/alpha (alpha*-*-freebsd*)
- <li> GNU/kFreeBSD/alpha (alpha*-*-kfreebsd*-gnu)
- </ul>
-</ul>
-
-See the NEWS file for a more complete and detailed list of what this
-release includes.
-<p>
-</dd>
-
<dt>September 30, 2011: <b>Release Mistakes in GDB Versions 6.0 - 7.3</b></dt>
<dd>
<p> A mistake has been detected in the release tar files for all
<p>Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.</p>
-<p>Last modified 2018-01-05.</p>
+<p>Last modified 2018-01-31.</p>
</address>
</body>
-->
+<dt>January 31st, 2018: <b>GDB 8.1 Released!</b></dt>
+<dd>
+<p> The latest version of GDB, version 8.1, is available for <a
+href="../../gdb/download/">download</a>.
+<p>
+Changes in this release include:
+<ul>
+ <li> Breakpoints on C++ functions are now set on all scopes by default ("wild" matching);
+ <li> Support for inserting breakpoints on functions marked with C++ ABI tags;
+ <li> Target floating-point arithmetic emulation during expression evaluation (requires MPFR 3.1 or later);
+ <li> Various Python Scripting enhancements;
+ <li> Improved Rust support; in particular, Trait objects can now be inspected when debugging Rust code;
+ <li> GDB no longer makes assumptions about the type of symbols without debugging information to avoid producing erroneous and often confusing results;
+ <li> The 'enable' and 'disable' commands now accept a range of breakpoint locations;
+ <li> New 'starti' command to start the program at the first instruction;
+ <li> New 'rbreak' command to insert a number of breakpoints via a regular expression pattern (requires Python);
+ <li> The 'ptype' command now supports printing the offset and size of the fields in a struct;
+ <li> The 'gcore' command now supports dumping all the memory mappings ('-a' command-line option);
+ <li> New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti;
+ <li> GDBserver enhancements:
+ <ul>
+ <li> Support for transmitting environment variables to GDBserver;
+ <li> Support for starting inferior processes with a specified initial working directory;
+ <li> On Unix systems, support for globbing expansion and variable substitution of inferior command-line arguments;
+ </ul>
+ <li> Various completion enhancements;
+ <li> The command used to compile and inject code with the 'compile' command is now configurable;
+ <li> New '--readnever' command-line option to speed the GDB startup when debugging information is not needed;
+ <li> Support for the following new native configurations:
+ <ul>
+ <li> FreeBSD/aarch64 (aarch64*-*-freebsd*);
+ <li> FreeBSD/arm (arm*-*-freebsd*);
+ </ul>
+ <li> Support for the following new targets:
+ <ul>
+ <li> FreeBSD/aarch64 (aarch64*-*-freebsd*);
+ <li> FreeBSD/arm (arm*-*-freebsd*);
+ <li> OpenRISC ELF (or1k*-*-elf)
+ </ul>
+ <li> Removed support for the following targets and native configurations:
+ <ul>
+ <li> Solaris2/x86 (i?86-*-solaris2.[0-9]);
+ <li> Solaris2/sparc (sparc*-*-solaris2.[0-9]);
+ </ul>
+</ul>
+
+See the <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-8.1-release">NEWS</a> file for a more complete and detailed list of what this release includes.
+<p>
+</dd>
+
<dt>January 5th, 2018: <b>GDB 8.1 branch created</b></dt>
<dd>
<p> The GDB 8.1 branch (<tt>gdb-8.1-branch</tt>) has been created.
<p>Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.</p>
-<p>Last modified 2018-01-05.</p>
+<p>Last modified 2018-01-31.</p>
</address>
</body>