alire-project / GNAT-FSF-builds

Builds of the GNAT Ada compiler from FSF GCC releases
MIT License
32 stars 9 forks source link

unable to debug stm32f4 target #50

Open rvl13 opened 11 months ago

rvl13 commented 11 months ago

I have recently installed following toolchain on my machine and I am unable to debug STM32F4 discovery, attached are the logs and screenshot of the debugger.

GDB_log.txt GDB_issue_screenshot gnat_version

As per the screenshot, :

Additionally, I also have community 2019 arm toolchain installed and debugging just works fine using the same, hence I do not think this is an issue with the st-link gdb-server installation.

Please let me know if more information is required.

Thanks, rvl13

Fabien-Chouteau commented 9 months ago

Hello @rvl13 , unfortunately I don't understand why the monitor reset halt command would work with one version of GDB and not the other.

There is a GDB command to enable some debug info: set debug remote 1. You can try to use it and compare the results using both versions.