how to debug newlib using gdb?
Hello,
I can successfully use gdb to remotely debug my program running on STM32F103, using openocd-0.6.0 and a stlinkV2 debugger.
I am using the precompiled package gcc-arm-
However, I don't manage to debug newlib system calls. The program is linked to the libc using the armv7-m/libc.a, which I guess contains all the necessary symbols.
I told gdb the place to search for files ("--directory=" command line option, using the unpacked source package gcc-arm-
Am I missing something? I am afraid I have to build the toolchain myself in order to debug it... ?
Best Regards,
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Emeric POUPON for more information if necessary.