This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unexpected symbol ENUMERATION_TYPE

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 main
start
WARNING(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_TYPE
WARNING(CMD407): Trying the entry point instead
wait
Execution stopped at breakpoint 1: 0x00011208
In _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.

Parents
  • 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

Reply
  • 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

Children
  • 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