GDB is a powerful and free source-level debugger that can be used for debugging programs written in Ada, C, C++, Fortran, Go Rust, and other languages. Not only can you debug your code on dozen different processor architectures with GDB, but it also has the capability to run on most of the popular GNU/Linux, Unix as well as Microsoft Windows systems.
Today marks the exciting release of GDB 13.1, the latest version of GNU Debugger, an open-source code debugging solution designed to help you find and resolve errors quickly and easily.
The latest GNU Debugger (13.1) builds upon its already powerful suite, adding LoongArch and C-SKY processor architecture support for GDB and GDB Server running on Linux machines – now with floating point capabilities!
GDB 13.1 has brought a plethora of new features, including support for TLS variables on Arm/AArch64 platforms and hardware watchpoint support for FreeBSD AArch64, allowing users to take full advantage of the C-SKY and LoongArch Linux targets.
Additionally, developers are able to make use of Python API additions and Zstd compressed debug sections for ELF files. To round off this impressive package, DBX mode is no longer supported, while several other enhancements have been added as well!
ELF binaries are now supported in the Zstd debug section, extending the GNU toolchain and LLVM capability to include compression with Zstd. In addition, this support will be featured in GCC 13 when released.
Need more control over your debugging program? Check out the new commands in GDB! With ‘set print nibbles’ and its companion command, ‘show print nibbles’, you can manage how binary values are displayed. And don’t forget about various styling-related commands that give extra oomph to your work – just look at the gdb/NEWS file for more info (see link).
Experts or developers may also find helpful a range of maintenance commands as well – explore them too by reading through the gdb/NEWS file.
Stay up-to-date with the latest changes in GDB 13.1 by downloading all the necessary information and additional resources from the GNU mailing list!