2018.R1版本debug时出现 Cannot run program "gdb"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2018.R1版本debug时出现 Cannot run program "gdb"

1,950 Views
jjr_net
Contributor I

各位大侠:SD32 2018.R1版本debug时出现 Cannot run program "gdb", 要如何解决呢?编译通过,PE 调试器的灯两个都有亮????pastedImage_1.png

Labels (1)
0 Kudos
2 Replies

1,129 Views
stanish
NXP Employee
NXP Employee

This seems you are trying to debug an external elf file.

I assume you Imported an elf file using Executable File importer:

pastedImage_1.png

The executable file importer allows you to create a new debug launch configuration:

pastedImage_4.png

After the elf is imported there is a project that includes valid debug config you need to select:

pastedImage_5.png

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

0 Kudos

1,129 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos