[001]About MbedOs debug Environmental

When we try “Debugging applications compiled with GCC”, follwing the page “https://docs.mbed.com/docs/getting-started-mbed-os/en/latest/Full_Guide/Debugging/

we found the discription as :
The best way to debug applications compiled with GCC is to use the gdb debugger. You need:
arm-none-eabi-gdb, which is installed as part of the GCC ARM Embedded installation procedure.
pyocd-gdbserver, which is installed as part of the yotta installation procedure.

We want to debug MbedOs on target frdm-k64f-gcc,the host is win7 operation system;
we could not find arm-none-eabi-gdb installation procedure for win7!!!
where can I get it ???
Thanks!

There should be lot of guides how to install GCC ARM. Download https://launchpad.net/gcc-arm-embedded version 4.9.x from there for windows, install, the installation asks for adding to PATHS. this should make arm-none-eabi-gdb available in your command line.

1 Like

Thanks !
I found it and installed the gcc-arm-none-eabi-5_2-2015q4-20151219-win32.exe in win7.

if I only want to use the “GDB debug file” to debug on target board with J-Link.
run "yotta build "cmd in yotta cmd line can bring out the “GDB debug file” ?
How can I do it ?

Thanks all .
we will try armcc MDK to debug app .