aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/dwarf2.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3f68528..75574a7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-19 Cary Coutant <ccoutant@google.com>
+
+ * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
+
2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
Alan Modra <amodra@gmail.com>
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;