AnsweredAssumed Answered

GDB crash (KDS 3.2.0 Freedom K64F)

Question asked by Dave Nadler on Nov 11, 2016
Latest reply on Nov 11, 2016 by Dave Nadler

When I try to debug my project, GDB crashes with the following internal error:

/home/build/work/GCC-4-8-build/src/gdb/gdb/linespec.c:2445: internal-error: decode_line_full: Assertion `state->canonical_names[i].suffix != NULL' failed.

Here's the complete info:

GDB crash

Latest updates applied to KDS two days ago.

Thanks, Best Regards, Dave

 

PS: Problem is GDB crashes when setting a breakpoint on code that is not linked into executable.
Clearing all breakpoints, restarting debug session, and then trying to set each breakpoint individually showed where GDB crashes. This GDB bug was listed as fixed in 2014 but it's still there:
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1375517

Outcomes