* dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
authorDoug Evans <dje@google.com>
Mon, 23 Apr 2012 16:46:02 +0000 (16:46 +0000)
committerDoug Evans <dje@google.com>
Mon, 23 Apr 2012 16:46:02 +0000 (16:46 +0000)
commit4568ecf961d8d447e9b23e5fb07e53f11ce01a51
tree5313fb134632ea46371e5d1f35d7159432011234
parentdca9aa3ad402663bf03e67c14e4e5d4210a19d4f
* dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
attr.u.unsnd instead of attr.u.addr.
(read_attribute_value) Ditto for cases DW_FORM_ref_addr,
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8,
DW_FORM_ref_udata.
(dump_die_shallow): Update cases DW_FORM_ref_addr,
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4.  Add cases DW_FORM_ref8,
DW_FORM_ref_udata.
(dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes.
gdb/ChangeLog
gdb/dwarf2read.c