Add GDB python support for Windows in GCC 14

I am requesting that python support for Windows for the ARM GNU toolchain version 14 be supported. I work with clients that build firmware for devices on host machines such as linux, mac osx and Windows. Python support is critical for a variety of our use cases:

  1. Automated testing
  2. Customization of GDB GUI
  3. Debugging utilities

It would be awful if our Windows clients cannot take advantage of the power of python that the Mac and Linux users get. Please consider adding support for python in GDB for the GCC 14 release. I've been pushing for this since GCC 13 and pushing this out to GCC 15 would delay further development in this area. My team accounts for 30 users and we expect to expand in the coming year, but we are held back by the lack of python support in GDB for testing and analysis.

  • Hi Kammce,

    We've had a look at this and it's proving more challenging than antecipated. Our current hypothesis is that to get python support to work in a mingw environment, we need to build the toolchain (or well gdb) itself in a mingw host. Our current release process cross-builds this toolchain using cross-compilers to i686 and x86_64 mingw and we will not be able to change that before our GCC 14 release.