This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbol can't be found unless type 'tab'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]