I am developing a C++ app that has been going well until this morning. It compiled with no errors but when I try to load it into an '1349 I get the message below in the Xpresso console. What are my next steps?
GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160616-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
0x000004f0 in CTest1::Delay (this=0x10001498, value=1000) at ../src/CTest1.cpp:50
50 for (j=0; j<800; j++)
Warning: the current language does not match this frame.
/home/build/work/GCC-5-0-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' 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]
This is a bug, please report it. For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>./home/build/work/GCC-5-0-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
This could also be because xpresso can never find this link:
Can't find a source file at "E:\Jenkins-slave\workspace\LibrariesFresco\Newlib_hostings\newlib_stub_semihost\armv7-m/../src/swi.h"
Locate the file or edit the source lookup path to include its location.
It is looking for: do_AngelSWI() at swi.h:76 0x6360
It's certainly nowhere in my system.
Regards, Ron
As it has not occurred since that could well be it, although I have no idea where that other breakpoint got set.
Sounds like the issue described here - Question #403525 : Questions : GNU ARM Embedded Toolchain
Try going to the Breakpoints view and deleting all of your breakpoints, then starting your debug session again.
Regards,
LPCXpresso Support