Cannot run program "gdb": Launching failed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot run program "gdb": Launching failed

ソリューションへジャンプ
17,072件の閲覧回数
659306386
Contributor I

S32 Design Studio for ARM Version 2018.R1 program fail.

Error with command: gdb --version
Cannot run program "gdb": Launching failed

1 解決策
13,761件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

This issue may occur when the first debug is launched by clicking on the debug button and there was no debug configuration launched previously - Eclipse creates a new generic GDB configuration which is missing some important paths/settings required to run GDB client.

I'd suggest you to go the Debug Configuration dialog select correct debug configuration and press debug:

pastedImage_1.png

Hope it helps.

Stan

元の投稿で解決策を見る

7 返答(返信)
13,761件の閲覧回数
BlackNight
NXP Employee
NXP Employee

That error message typically indicates that the gdb executable is not found, see Troubleshooting Tips: Failed Debugging with GDB | MCU on Eclipse 

I hope this helps,

Erich

0 件の賞賛
13,761件の閲覧回数
alex_yu1
Contributor III

i also have this problem, your solution  is not working

0 件の賞賛
13,761件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi,

I faced similar issue couple weeks ago - in my case the issue was caused by different gcc (4.9 used for build) and gdb (6.3) version used for build/debug. You can use verbose build mode in project properties to check out in build console  which particular version is really used: 

pastedImage_1.png

Jiri 

0 件の賞賛
13,761件の閲覧回数
raphael_sommer
Contributor II

Hello, I got the same issue.

Did you find a solution for that Problem?

0 件の賞賛
13,762件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

This issue may occur when the first debug is launched by clicking on the debug button and there was no debug configuration launched previously - Eclipse creates a new generic GDB configuration which is missing some important paths/settings required to run GDB client.

I'd suggest you to go the Debug Configuration dialog select correct debug configuration and press debug:

pastedImage_1.png

Hope it helps.

Stan

13,761件の閲覧回数
raphael_sommer
Contributor II

HI,

My Problem is gone now, thanks to you!

0 件の賞賛
13,761件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

what is your OS- Linux or Windows?

0 件の賞賛