Opened 7 years ago

Closed 7 years ago

#9328 closed enhancement (fixed)

gdb-8.0

Reported by: bdubbs@… Owned by: bdubbs@…
Priority: normal Milestone: 8.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (3)

comment:1 by bdubbs@…, 7 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by bdubbs@…, 7 years ago

* Changes in GDB 8.0

  • GDB now supports access to the PKU register on GNU/Linux. The register is added by the Memory Protection Keys for Userspace feature which will be available in future Intel CPUs.
  • GDB now supports C++11 rvalue references.
  • Python Scripting
  • New functions to start, stop and access a running btrace recording.
  • Rvalue references are now supported in gdb.Type.
  • GDB now supports recording and replaying rdrand and rdseed Intel 64 instructions.
  • Building GDB and GDBserver now requires a C++11 compiler.

For example, GCC 4.8 or later.

It is no longer possible to build GDB or GDBserver with a C compiler. The --disable-build-with-cxx configure option has been removed.

  • Building GDB and GDBserver now requires GNU make >= 3.81.

It is no longer supported to build GDB or GDBserver with another implementation of the make program or an earlier version of GNU make.

  • Native debugging on MS-Windows supports command-line redirection

Command-line arguments used for starting programs on MS-Windows can now include redirection symbols supported by native Windows shells, such as '<', '>', '>>', '2>&1', etc. This affects GDB commands such as "run", "start", and "set args", as well as the corresponding MI features.

  • Support for thread names on MS-Windows.

GDB now catches and handles the special exception that programs running on MS-Windows use to assign names to threads in the debugger.

  • Support for Java programs compiled with gcj has been removed.
  • User commands now accept an unlimited number of arguments. Previously, only up to 10 was accepted.
  • The "eval" command now expands user-defined command arguments.

This makes it easier to process a variable number of arguments:

   define mycommand
     set $i = 0
     while $i < $argc
       eval "print $arg%d", $i
       set $i = $i + 1
     end
   end
  • Target descriptions can now describe registers for sparc32 and sparc64.
  • GDB now supports DWARF version 5 (debug information format). Its .debug_names index is not yet supported.
  • New native configurations

FreeBSD/mips mips*-*-freebsd

  • New targets

Synopsys ARC arc*-*-elf32 FreeBSD/mips mips*-*-freebsd

  • Removed targets and native configurations

Alpha running FreeBSD alpha*-*-freebsd* Alpha running GNU/kFreeBSD alpha*-*-kfreebsd*-gnu

  • New commands

flash-erase

Erases all the flash memory regions reported by the target.

maint print arc arc-instruction address

Print internal disassembler information about instruction at a given address.

  • New options
    set disassembler-options
    show disassembler-options
    
    Controls the passing of target specific information to the disassembler. If it is necessary to specify more than one disassembler option then multiple options can be placed together into a comma separated list. The default value is the empty string. Currently, the only supported targets are ARM, PowerPC and S/390.
  • New MI commands

-target-flash-erase

Erases all the flash memory regions reported by the target. This is equivalent to the CLI command flash-erase.

-file-list-shared-libraries

List the shared libraries in the program. This is equivalent to the CLI command "info shared".

comment:3 by bdubbs@…, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 18807.

Note: See TracTickets for help on using tickets.