LWN.netcorbet6 min readrelease notesintermediate
GDB 18.1 released
Summary
GDB 18.1 has been released, featuring major improvements to the Windows native target, enhanced argument handling, and new Python API additions. This version also removes support for several older debug information formats and introduces new commands and target architectures.
- Windows native debugging now supports non-stop mode, scheduler locking, TLS, and true-color/UTF-8 in Windows Terminal.
- GDB improves inferior argument handling, allowing newlines in quoted arguments and introducing a `--no-escape-args` option.
- The Python API gains new classes for core file introspection (`gdb.Corefile`) and event registries for context and core file changes.
- Support for older debug information formats (stabs, mdebug, CTF, DWP v1) and AIX 7.1 has been removed, requiring toolchain updates.
Engineers using GDB for debugging C/C++, Rust, Go, and other compiled languages, particularly on Windows or embedded systems, should review these updates for significant usability improvements and necessary compatibility adjustments.
6/10
