Hello,
I am developing an application for Apollo3 using the EVB. I have VSCode and CortexDebug set up and I am able to debug the example projects I have tried. For my own project I need FreeRTOS so I have set that up and created my first task. The issue I face is that when GDB hits a breakpoint in the task and attempts to read the stack frame info it throws an internal error and exits:
reakpoint 2, LedTask (pvParameters=<optimized out>) at ./src/led_task.c:273
273 if (bitSet != 0)
/tmp/jenkins/jenkins-GCC-7-build_toolchain_docker-775_20180622_1529687456/src/gdb/gdb/inline-frame.c:167: internal-error: void inline_frame_this_id(frame_info*, void**, frame_id*): Assertion `frame_id_p (*this_id)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session?
(y or n) [answered Y; input not from terminal]
I have manually entered the same commands sent by CortexDebug and I see the same error when accessing stack frame information. Does anyone have any idea what is happening and how I can work around it.
Sid