Hi,
I compiled my project with a toolchain out of buildroot and everything works fine expect that i get a warning in the Commands-Tab after I started to debug:
set debug-from mainstartWARNING(CMD399-COR192-IMG54-COR307): ! Failed to start the target! Failed to resolve breakpoint expression "main"! Failed to demand load DWARF debugging information: section .debug_info, offset 0x3a71! Unexpected symbol ENUMERATION_TYPEWARNING(CMD407): Trying the entry point insteadwaitExecution stopped at breakpoint 1: 0x00011208In _start (no debug info)
Debugging works just in Disassembly and expressions won't work at all. The error ' Unexpected symbol ENUMERATION_TYPE ' seems odd cause it's a default debug entry of DWARF, isn't it?
So I need some suggestions. Same results from DS-5 5.23.1 & 5.25.0.
Hi Stephen,
I already checked objdump, which indeed has an DW_TAG_enumeration_type entry at the give address and '-gdwarf' don't solve the problem either, no matter which version i selected.
Leading by the fact that the debug.info seems normal, i expect an error (or a special handling) in the DS-5 debugger.
And rearranging the code can't be the answer.
I will set up a test project tommorrow, to share some code.
Thanks in advance
Thanks Marcus, for the update.It seems we will need to investigate this in more detail, so rather than trying to share code via this Community post, please open a Support Case using the "Support > Open a Support Case" option at the top of this page.Have you tried the latest (v5.29) version of DS-5?
Stephen