ELF/DWARF: Debug Info has empty location info for formal parameters of functions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ELF/DWARF: Debug Info has empty location info for formal parameters of functions

1,344件の閲覧回数
asew_licenses
Contributor I

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>

タグ(1)
0 件の賞賛
返信
1 返信

922件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信