* dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
authorRichard Henderson <rth@redhat.com>
Thu, 14 Mar 2002 22:53:35 +0000 (22:53 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 14 Mar 2002 22:53:35 +0000 (22:53 +0000)
        a constant array bound.

gdb/ChangeLog
gdb/dwarf2read.c

index 164f008659a1fe46159d9fd4acc7acb3111831e4..15aa1701939fc4683a37004fafe096534199d7aa 100644 (file)
@@ -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
index 9dbcbde9cea9d2b3d65f90531c4acb91bf90b058..e006681a13a283f562294949a01a88678461132c 100644 (file)
@@ -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);
                }