the given die is a declaration.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
+ * dwarf2read.c (read_enumeration_type): Flag type as stub if
+ the given die is a declaration.
+
+2008-01-03 Joel Brobecker <brobecker@adacore.com>
+
* ada-lang.c (ada_array_bound_from_type): Make non-static.
Handle properly the case when the index type is an enumerated type.
Do not return the subtype of the bounds type, just return the
TYPE_LENGTH (type) = 0;
}
+ if (die_is_declaration (die, cu))
+ TYPE_FLAGS (type) |= TYPE_FLAG_STUB;
+
set_die_type (die, type, cu);
}