GDB python

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

GDB python

1,503件の閲覧回数
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,452件の閲覧回数
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,481件の閲覧回数
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,426件の閲覧回数
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,394件の閲覧回数
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 件の賞賛
返信