summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-14 22:53:35 +0000
committerRichard Henderson <rth@redhat.com>2002-03-14 22:53:35 +0000
commit1b1a931825bdb5d08ef273617c58c0864059909b (patch)
tree50b34e6ff914b07bff4aa21e6a82c5bbe312463b
parent59af5b23a99306a028cac2424d138ca4eca04a48 (diff)
downloadgdb-1b1a931825bdb5d08ef273617c58c0864059909b.tar.gz
* dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
a constant array bound.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/dwarf2read.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 164f008659a..15aa1701939 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-14 Richard Henderson <rth@redhat.com>
+
+ * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
+ a constant array bound.
+
+ * MAINTAINERS: Add myself to write-after-approval.
+
2002-03-13 Michal Ludvig <mludvig@suse.cz>
* gdbserver/remote-util.c (remote_open): Print remote-side's
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 9dbcbde9cea..e006681a13a 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2538,7 +2538,8 @@ read_array_type (struct die_info *die, struct objfile *objfile,
else if (attr->form == DW_FORM_udata
|| attr->form == DW_FORM_data1
|| attr->form == DW_FORM_data2
- || attr->form == DW_FORM_data4)
+ || attr->form == DW_FORM_data4
+ || attr->form == DW_FORM_data8)
{
low = DW_UNSND (attr);
}
@@ -2564,7 +2565,8 @@ read_array_type (struct die_info *die, struct objfile *objfile,
else if (attr->form == DW_FORM_udata
|| attr->form == DW_FORM_data1
|| attr->form == DW_FORM_data2
- || attr->form == DW_FORM_data4)
+ || attr->form == DW_FORM_data4
+ || attr->form == DW_FORM_data8)
{
high = DW_UNSND (attr);
}