AnsweredAssumed Answered

debug Cortex-M4F floatpoint

Question asked by JIM BURTON on Apr 14, 2016
Latest reply on Nov 21, 2016 by Dan Teodorescu

I experienced the following failed assertion when debugging Cortex-M4F code using floating point.

GCC-4-8-build/src/gdb/gdb/regcache.c:178: internal-error:
register_size: Assertion `regnum >= 0 && regnum <
(gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch))' failed.

 

All routine that pass a floating point value to the routine will failed when I set a breakpoint inside the routine. GDB crashes as soon as the break is encountered.

 

Kinetis Design Studio Version: 3.1.0
Eclipse Version: Luna SR2 (4.4.2)

Outcomes