The GDB 13.1 debugger release has been announced (the first release in the 13.x series, with the 13.0 branch used for development). GDB supports source-level debugging for a wide range of programming languages (Ada, C, C++, D, Fortran, Go, Objective-C, Modula-2, Pascal, Rust, etc.) on various hardware (i386, amd64, ARM, Power, Sparc, RISC-V, etc.) and software platforms (GNU/Linux, *BSD, Unix, Windows, macOS).
Key Improvements:
- Support for running the debugger and GDBserver on GNU/Linux/LoongArch and GNU/Linux/CSKY architectures has been added.
- Support for asynchronous operation (async) on the Windows platform has been implemented.
- On the FreeBSD platform for ARM and AArch64 architectures, support for TLS (Thread Local Storage) variables has been added, and for the AArch64 architecture, hardware watchpoints are now available.
- In the GNU/Linux environment on LoongArch systems, support for floating-point calculations has been added.
- New commands âmaintenance set ignore-prologue-end-flag|libopcodes-stylingâ and âmaintenance print frame-idâ have been implemented, as well as commands for managing the style of disassembled output (set style disassembler *).
- Commands âset print nibbles [on|off]â and âshow print nibblesâ have been added to control the display of binary values in four-byte groups.
- Improvements have been made to the Python API. An API for disassembling instructions has been added, the gdb.BreakpointLocation type has been implemented, and functions gdb.format_address, gdb.current_language, and gdb.print_options have been added.
- The first version of the GDB/MI interface has been deprecated in the GDB/MI management API, and it will be removed in the GDB 14 branch.
- Support for debug sections compressed with the zstd algorithm has been added to ELF files.
- New built-in variables have been introduced: $_inferior_thread_count, $_hit_bpnum, $_hit_locno.
- The output format of the commands âdisassemble /râ and ârecord instruction-history /râ has been aligned with the output of objdump. A â/bâ mode has been added to revert to the old format.
- In the TUI (Text User Interface), styling for source and assembly code highlighted by the current position indicator has been disabled.
- The âdocumentâ command is now available for documenting user-defined commands.
- The ability to create dumps with memory tag data, used in conjunction with the ARMv8.5 MTE (MemTag, Memory Tagging Extension) mechanism, which allows tags to be bound to each memory allocation operation and organizes pointer checks against the correct tag during memory access, has been added.
- Support for the DBX compatibility mode has been discontinued.
- Support for builds using Python 2 has been discontinued.
- The commands "set debug aix-solib on|off", "show debug aix-solib", "set debug solib-frv on|off", and "show debug solib-frv" have been removed; instead, use the commands "set/show debug solib".
Source: opennet.ru
