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?