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.
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.
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
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
Hi,
I'm afraid I can't help. This tool is not used by MCUXpresso. You can ask in other python forum.
Regards,
Jing