GDB 8.3 debugger release

Submitted by debugger release GDB 8.3, which supports source-level debugging for a wide range of programming languages ​​(Ada, C, C++, Objective-C, Pascal, Go, etc.) on various hardware (i386, amd64, ARM, Power, Sparc, RISC-V and etc.) and software platforms (GNU/Linux, *BSD, Unix, Windows, macOS).

Key improvements:

  • In the CLI and TUI interfaces, the ability to determine the style of the terminal has been implemented (the "set style" command has been added). In the presence of GNU Highlight, highlighting of source texts is implemented;
  • Implemented experimental support for compiling and substituting C++ source code into a GDB-controlled process
    (less). Requires at least GCC 7.1b built with libcp1.so to work;

  • Support for IPv6 has been added to GDB and GDBserver. To specify IPv6 addresses, use the format "[ADDRESS]:PORT";
  • For RISC-V targets, support has been added for target descriptions in XML format (Target Description Format);
  • On the FreeBSD platform, support is provided for setting hookpoints
    (catchpoint) to syscalls using their ABI-specific aliases (for example, alias 'freebsd11_kevent' is available for 'kevent' to bind to the old ABI);

  • Added support for Unix sockets (Unix Domain socket) to the "target remote" command;
  • Added the ability to display all files opened by the process ("info proc files" command);
  • Implemented the ability to automatically save DWARF symbol indexes to disk to speed up subsequent loading of the same executable file;
  • Added support for accessing PPR, DSCR, TAR, EBB/PMU, and HTM registers in GDBserver for the PowerPC GNU/Linux platform;
  • Added new commands "set/show debug compile-cplus-types" and
    "set/show debug skip" to customize output of C++ type conversions and information about skipped files and functions;

  • Added "frame apply COMMAND", "taas COMMAND", "faas COMMAND", "tfaas COMMAND" commands to apply commands to stack frames and threads;
  • Improvements have been made to the "frame", "select-frame", "info frame" commands,
    - "info functions", "info types", "info variables", "info thread", "info proc";

  • When run in batch mode, GDB now returns error code 1 if the last command fails;
  • Added the ability to build GDB with the GCC-provided Undefined Behavior Sanitizer;
  • Added native configuration settings (native configuration, for debugging on the same system) for RISC-V GNU/Linux (riscv*-*-linux*) and RISC-V FreeBSD (riscv*-*-freebsd*) platforms;
  • Added target configurations: CSKY ELF (csky*-*-elf), CSKY GNU/Linux (csky*-*-linux), NXP S12Z ELF (s12z-*-elf), OpenRISC GNU/Linux (or1k *-*-linux*), RISC-V GNU/Linux (riscv*-*-linux*) and RISC-V FreeBSD (riscv*-*-freebsd*);
  • Debugging on the same system on Windows now requires Windows XP or later;
  • Using the Python API now requires Python 2.6 or later.

Source: opennet.ru

Add a comment