diff options
author | Richard Henderson <rth@redhat.com> | 2002-03-14 22:53:35 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2002-03-14 22:53:35 +0000 |
commit | 963838355f3cd8156e17636f0c79fb52e001997b (patch) | |
tree | a26894a76f8598311b9480b26d961d62d9841df4 /gdb/dwarf2read.c | |
parent | 23b95bcbaa034e1fa19be484cb68094d8e1019f8 (diff) | |
download | gdb-963838355f3cd8156e17636f0c79fb52e001997b.zip gdb-963838355f3cd8156e17636f0c79fb52e001997b.tar.gz gdb-963838355f3cd8156e17636f0c79fb52e001997b.tar.bz2 |
* dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
a constant array bound.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 9dbcbde..e006681 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); } |