platformio / platform-ststm32

ST STM32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/ststm32
Apache License 2.0
407 stars 312 forks source link

Bundled arm-none-eabi toolchain's GDB has no Python support #658

Open doppioandante opened 2 years ago

doppioandante commented 2 years ago

Hello, I'm using platformio by CLI interface exclusively. The piodebuggdb is nice, I can attach to it using the mi3 interface. Sometimes though, I'd wish to use it directly along with gdb-dashboard.

Unfortunately, as it uses python scripting in gdb, it fails to work with the standard arm-none-eabi-gdb (path: packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gdb). In the same folder, I can tell that there are more gdb executables that apparently support python: