Virtual-Jaguar-Rx
Virtual-Jaguar-Rx copied to clipboard
The debugger doesn't display static local variables
The 'msg' and 'recursive' variables are local static in the source code.
Problem comes from the DWARF handler, it doesn't support yet a such situation.
Extract from DWARF information.
<1><2b9ac>: Abbrev Number: 37 (DW_TAG_subprogram) <2b9ad> DW_AT_external : 1 <2b9ae> DW_AT_name : (indirect string, offset: 0x16080): Com_Error <2b9b2> DW_AT_decl_file : 1 <2b9b3> DW_AT_decl_line : 199 <2b9b4> DW_AT_prototyped : 1 <2b9b5> DW_AT_low_pc : 0x824b2a <2b9b9> DW_AT_high_pc : 0x824c34 <2b9bd> DW_AT_frame_base : 0x3820 (location list) <2b9c1> DW_AT_GNU_all_tail_call_sites: 1 <2b9c2> DW_AT_sibling : <0x2ba14> <2><2b9c6>: Abbrev Number: 35 (DW_TAG_formal_parameter) <2b9c7> DW_AT_name : (indirect string, offset: 0x164ca): code <2b9cb> DW_AT_decl_file : 1 <2b9cc> DW_AT_decl_line : 199 <2b9cd> DW_AT_type : <0x2ac31> <2b9d1> DW_AT_location : 2 byte block: 91 0 (DW_OP_fbreg: 0) <2><2b9d4>: Abbrev Number: 38 (DW_TAG_formal_parameter) <2b9d5> DW_AT_name : fmt <2b9d9> DW_AT_decl_file : 1 <2b9da> DW_AT_decl_line : 199 <2b9db> DW_AT_type : <0x2ace3> <2b9df> DW_AT_location : 2 byte block: 91 4 (DW_OP_fbreg: 4) <2><2b9e2>: Abbrev Number: 39 (DW_TAG_unspecified_parameters) <2><2b9e3>: Abbrev Number: 40 (DW_TAG_variable) <2b9e4> DW_AT_name : (indirect string, offset: 0x16632): argptr <2b9e8> DW_AT_decl_file : 1 <2b9e9> DW_AT_decl_line : 201 <2b9ea> DW_AT_type : <0x2b536> <2b9ee> DW_AT_location : 2 byte block: 7e 7c (DW_OP_breg14 (r14): -4) <2><2b9f1>: Abbrev Number: 41 (DW_TAG_variable) <2b9f2> DW_AT_name : msg <2b9f6> DW_AT_decl_file : 1 <2b9f7> DW_AT_decl_line : 202 <2b9f8> DW_AT_type : <0x2b954> <2b9fc> DW_AT_location : 5 byte block: 3 0 1 b0 74 (DW_OP_addr: 1b074) <2><2ba02>: Abbrev Number: 40 (DW_TAG_variable) <2ba03> DW_AT_name : (indirect string, offset: 0x15c2e): recursive <2ba07> DW_AT_decl_file : 1 <2ba08> DW_AT_decl_line : 203 <2ba09> DW_AT_type : <0x2abfc> <2ba0d> DW_AT_location : 5 byte block: 3 0 1 b0 70 (DW_OP_addr: 1b070) <2><2ba13>: Abbrev Number: 0