This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: CCS v7 and ARMCC DS-5 debug symbols

Tool/software: Code Composer Studio

I am having troubles with using ARMCC compiler's debug symbols in DWARF2 format on the latest CCS version.  ARMCC is ARM DS-5 toolset.

Issue description:

  • In the debug session after loading symbols using "Load symbols",  (.axf file 4MB) ARM Cortex R4 core gets almost immediately stuck
  • I cannot use CCS to debug
  • Expressions don't get evaluated
  • Suspend/Resume function don't work, ARM cores remains suspended
  • I can still see memory contents in Memory Browser
  • The issue disappears as soon as I press Remove symbols and shows up again if I load the symbols back

CCS  Version: 7.1.0.00016 

Debug emulators: XDS100v2, XDS200 - the same issue on both.

However, if I change debug symbols format to DWARF3 and recompile the following happens:

  • The issue disspears or becomes really hard to reproduce (something may still happen after about 100 hours of CCS runtime)
  • I can only see only one function name in the callstack  (the last function in which Program Counter register is currently located)

Is there any reason why CCS shows only a single function in the callstack in DWARF3, but the entire callstack as it is supposed to be in DWARF2?   Does it mean that CCS doesn't support DWARF3 debug symbols?

The hang issue is not reproducible using any of the previous CCS versions I tried (CCS v5.5, CCS v6.0).  It showed up with CCS v7.0+

The issue with DWARF3 debug symbols showing only the last function instead of the entire call stack is seen since CCS v.5.5

How can I assist to get hang issue fixed?

  • Hello,
    CCS does indeed support DWARF2 and DWARF3 symbols. For us to best proceed with the investigation of this issue, we would need the ARM axf file that exhibits the issue(s). Can you provide it? Assuming that you do not wish to share this on a public forum, please start a private conversation with me.

    Thanks
    ki