GDB python

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GDB python

1,850 次查看
jeffthompson
Contributor V

I want to run GDB using  Python scripting and found arm-none-eabi-gdb-add-index-py. But when I tried setting the GDB server command to that, I got

Error with command: arm-none-eabi-gdb-add-index-py --version
Cannot run program "arm-none-eabi-gdb-add-index-py": Launching failed

How can I accomplish my goal? I'm using MCUXpresso 11.4 for the MIMXRT1062DVJ6A.

标记 (2)
0 项奖励
回复
4 回复数

1,799 次查看
jeffthompson
Contributor V

I upgraded to MCUXpresso and got

Could not determine GDB version using command: arm-none-eabi-gdb-py --version

This seems to be a known problem with the way GDB was built, from what I can find on the Web.

0 项奖励
回复

1,828 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @jeffthompson ,

Please look into MCUXpressoIDE_11.4.0_6157_prc1\ide\tools\bin. Arm-none-eabi-gdb-add-index-py is a file, not an executable file. You should use arm-none-eabi-gdb-py.exe instead.

 

Regards,

Jing

0 项奖励
回复

1,773 次查看
jeffthompson
Contributor V

I still get the same result:

Could not determine GDB version using command: arm-none-eabi-gdb-py.exe --version

 

I also get the same error if I navigate to the executable and select it in the Debug Configurations menu:

Could not determine GDB version using command: C:\nxp\MCUXpressoIDE_11.5.0_7232\ide\tools\bin\arm-none-eabi-gdb-py.exe --versio

0 项奖励
回复

1,741 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I'm afraid I can't help. This tool is not used by MCUXpresso. You can ask in other python forum.

 

Regards,

Jing

0 项奖励
回复