各位大侠:SD32 2018.R1版本debug时出现 Cannot run program "gdb", 要如何解决呢?编译通过,PE 调试器的灯两个都有亮????
This seems you are trying to debug an external elf file.
I assume you Imported an elf file using Executable File importer:
The executable file importer allows you to create a new debug launch configuration:
After the elf is imported there is a project that includes valid debug config you need to select:
The GDB Client Settings - Executable field should be populated by this default value:
${cross_prefix}gdb${cross_suffix}
If not please try to replicate the steps above.
Hope it helps.
Stan
This message indicates that Eclipse was not able to find the GDB server executable. Check if that executable as specifed in the launch configuration really exists. See Troubleshooting Tips: Failed Debugging with GDB | MCU on Eclipse
I hope this helps,
Erich