Release of the GDB 8.3 debugger

Introduced debugger release GDB 8.3, supporting 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, etc.) and software platforms (GNU/Linux, *BSD, Unix, Windows, macOS).

Key improvements:

  • The CLI and TUI interfaces have implemented terminal style determination (the command "set style" has been added). If GNU Highlight is available, source code highlighting is implemented;
  • Experimental support for compiling and substituting C++ source code in a GDB-controlled process has been implemented.
    (inferior). A minimum of GCC version 7.1, compiled with libcp1.so, is required for operation;
  • Support for IPv6 has been added in GDB and GDBserver. To specify IPv6 addresses, use the format "[ADDRESS]:PORT";
  • Support for target system descriptions in XML format has been added for RISC-V;Target Description Format);
  • Support for setting breakpoints (catchpoints) on system calls, using ABI-specific aliases, has been provided on the FreeBSD platform (for example, the alias 'freebsd11_kevent' for binding to the old ABI is available for 'kevent');
    Support for Unix sockets (Unix Domain socket) has been added to the "target remote" command;
  • The capability to display all files opened by a process (the command "info proc files") has been added;
  • The possibility of automatically saving DWARF symbol indexes to disk for faster subsequent loading of the same executable has been implemented;
  • Support for accessing the PPR, DSCR, TAR, EBB/PMU, and HTM registers has been added in GDBserver for the PowerPC GNU/Linux platform;
  • New commands "set/show debug compile-cplus-types" and
  • "set/show debug skip" have been added for configuring the output of C++ type transformation data and information about skipped files and functions;
    Commands "frame apply COMMAND", "taas COMMAND", "faas COMMAND", "tfaas COMMAND" have been added for applying commands to stack frames and threads;
  • Improvements have been made to the "frame", "select-frame", "info frame",
  • — "info functions", "info types", "info variables", "info thread", "info proc" commands;
    When run in batch mode, GDB now returns error code 1 in case of failure to execute the last command;
  • The possibility of building GDB with a provided GCC Undefined Behavior Sanitizer has been added;
  • Base system settings (native configuration, for debugging on the same system) for RISC-V GNU/Linux (riscv*-*-linux*) and RISC-V FreeBSD (riscv*-*-freebsd*) platforms have been added.
  • Basic system settings have been added (native configuration, for debugging on the same system) for RISC-V GNU/Linux (riscv*-*-linux*) and RISC-V FreeBSD (riscv*-*-freebsd*);
  • Target configuration settings have been added: 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 in Windows now requires Windows XP or later versions;
  • To use the Python API, Python 2.6 or newer is now required.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster