GDB internal error with "-stack-info-depth" command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
When debugging an Apollo3 (Cortex-M) application that uses FreeRTOS, if a breakpoint is set in one of the tasks GDB crashes. The reported error is:
~"Breakpoint 1, usfsmax_read (reg=<optimized out>, size=<optimized out>, pBuf=<optimized out>) at ./src/usfsmax_
~"296\t usfsmax_
*stopped,
(gdb)
-stack-info-depth --thread 1 10
~"/mnt/
This is a show-stopper for debugging the system, especially since the debugging client needs to evaluate the stack in order to present data.