Symbol can't be found unless type 'tab'

Yao Qi yao@codesourcery.com
Wed Sep 12 11:34:00 GMT 2012


On 09/12/2012 04:06 PM, Jan Kratochvil wrote:
> Why didn't use just normal DWARF block, instead of the location list?
> This part does not matter for your testcase and it will work with GDB.

No special reason really.  Are you suggesting create dwarf like this?

  <1><33>: Abbrev Number: 3 (DW_TAG_variable)
     <34>   DW_AT_name        : i
     <36>   DW_AT_type        : <0x2a>
     <3a>   DW_AT_external    : 1
     <3b>   DW_AT_location    : 6 byte block: 52 93 4 53 93 4 
(DW_OP_reg2 (edx); DW_OP_piece: 4; DW_OP_reg3 (ebx); DW_OP_piece: 4)

-- 
Yao



More information about the Gdb mailing list