internal-error: could not find partial DIE https://bugzilla.redhat.com/show_bug.cgi?id=672230 diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 6a98d57..f33a327 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -8796,8 +8796,7 @@ load_partial_dies (bfd *abfd, gdb_byte *buffer, gdb_byte *info_ptr, if (parent_die == NULL && part_die->has_specification == 0 && part_die->is_declaration == 0 - && (part_die->tag == DW_TAG_typedef - || part_die->tag == DW_TAG_base_type + && (part_die->tag == DW_TAG_base_type || part_die->tag == DW_TAG_subrange_type)) { if (building_psymtab && part_die->name != NULL)