> gdb/ChangeLog: > > * dwarf2read.c (update_enumeration_type_from_children): New > function, mostly extracted from process_structure_scope. > (read_enumeration_type): Call update_enumeration_type_from_children. > (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned > and flag_flag_enum fields. > > gdb/testsuite/ChangeLog: > > * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files. Retested on x86_64-linux and pushed. -- Joel