We are using CW 5.1 for HCS12X and want to debug/test our code with winIDEA and testIDEA from iSystem. Neither of them work on parameters of functions. The support team of iSystem told us that there is missing location information in the debug info (see example). Therefore they are not able to get the actual values of function parameters at run time to show in the debugger or to check expectations during test runs.
Does anyone know how to enable this information in the ELF data?
debug info sample :
<3><7fe6e>: Abbrev Number: 4 (DW_TAG_formal_parameter)
<7fe6f> DW_AT_location : 0 byte block: () <-------- empty location info
<7fe71> DW_AT_decl_file : 29
<7fe72> DW_AT_decl_line : 58
<7fe73> DW_AT_decl_column : 40
<7fe74> DW_AT_name : u16DopValue
<7fe80> DW_AT_external : 0
<7fe81> DW_AT_declaration : 0
<7fe82> DW_AT_type : <0x738b5>
Hi Juerg
CW5.1 debug file is with .abs extension. Normally this file includes symbol memory location information. Thus when open abs file with hiwave debugger, the debugger can position each symbol in the right memory address.
the symbol location information is consistent with it shows in map file.
Can you please check it.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------