Phoronix iconPhoronixSep 25, 2026 ~2 min source read

GDB 18.1 Improves Windows Support and Expands Target Coverage

The GNU Debugger 18.1 focuses on Windows usability and platform features while adding new targets and commands across architectures and languages.

GDB 18.1 Debugger Brings Better Windows Support

Share this story

Send the public story page.

Useful takeaways from this story.

GDB 18.1 adds multiple Windows-specific features: native TLS support, non-stop mode on Windows 10+, scheduler locking, and better Windows Terminal integration.

Filenames on Windows are now shown consistently with forward slashes, and an AArch64 MinGW target was added.

GDB 18.1 is the latest feature release of the GNU Debugger. It continues to support a broad range of languages (C/C++, Fortran, Rust, Go, Ada and more) while delivering a focused set of improvements for Microsoft Windows users and adding architectural support and command-level enhancements.

This release contains several practical fixes and enhancements that change how GDB behaves on Windows:

  • Native Thread Local Storage (TLS) variables are now supported. This affects programs that rely on TLS for per-thread state.
  • Non-stop mode is supported on Windows 10 and later, enabling a workflow where individual threads can be resumed or stopped without halting the entire inferior process.
  • Scheduler locking now works on Windows. That helps maintain consistent scheduling behavior when the debugger requests certain thread or process lock semantics.
  • Integration with Windows Terminal has been improved for a better console experience.
  • Filenames are displayed consistently with forward slashes on Windows, replacing the previous inconsistent mix of backslashes and forward slashes. This makes paths more uniform across platforms and toolchains.

GDB 18.1 adds an AArch64 MinGW target. The release also includes improved support for the Floating Point Mode Register (FPMR) on AArch64. These changes expand GDB's usefulness for cross-compilation and debugging on ARM64 Windows environments.

User-facing commands and argument handling

Several new or extended commands were added to simplify common tasks:

  • save history
  • set/show/unset local-environment
  • info proc environ

The handling of inferior arguments (arguments passed to the debugged process) has been improved, which reduces friction when launching and inspecting programs under GDB.

GDB's Python API continues to receive enhancements. These changes are aimed at scripting and extending GDB behavior for custom workflows and tool integrations. The debugger's GAP protocol support has also been improved, which benefits front-ends and remote debugging setups that rely on that protocol.

Downloads and the full list of changes are available through the GNU mailing list and the project's distribution channels. The release notes list more detail for all bug fixes and smaller adjustments.

If you work on Windows-hosted development or cross-compile for ARM64, GDB 18.1 addresses multiple pain points: thread-local storage access, more granular control over thread execution with non-stop mode, and consistent path formatting. The new AArch64 MinGW target and FPMR handling make debugging ARM64 binaries on Windows more practical. Script authors and IDE integrators will find incremental improvements in the Python API and GAP protocol support useful for embedding GDB or building custom front-ends.

More context around this story.

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app