aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-01-19 23:17:57 +0000
committerCary Coutant <ccoutant@google.com>2010-01-19 23:17:57 +0000
commita37a68dd3c92bce56562837040b75eb371e65edd (patch)
tree297a3acef4468278dac1640392035edb9f15ca07 /bfd/dwarf2.c
parent2952bad40b71632c874c076e4c16f39a09b89857 (diff)
downloadgdb-a37a68dd3c92bce56562837040b75eb371e65edd.zip
gdb-a37a68dd3c92bce56562837040b75eb371e65edd.tar.gz
gdb-a37a68dd3c92bce56562837040b75eb371e65edd.tar.bz2
* dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index baac752..89d9f4b 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -858,6 +858,10 @@ read_attribute_value (struct attribute *attr,
attr->u.val = read_8_bytes (abfd, info_ptr);
info_ptr += 8;
break;
+ case DW_FORM_ref_sig8:
+ attr->u.val = read_8_bytes (abfd, info_ptr);
+ info_ptr += 8;
+ break;
case DW_FORM_ref_udata:
attr->u.val = read_unsigned_leb128 (abfd, info_ptr, &bytes_read);
info_ptr += bytes_read;