mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
macros. (TYPE_IS_OPAQUE): Empty vs. opaque structures are now distinct on the TYPE_STUB_SUPPORTED debug targets. * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
This commit is contained in:
@@ -3879,6 +3879,7 @@ read_structure_type (struct die_info *die, struct dwarf2_cu *cu)
|
||||
TYPE_LENGTH (type) = 0;
|
||||
}
|
||||
|
||||
TYPE_FLAGS (type) |= TYPE_FLAG_STUB_SUPPORTED;
|
||||
if (die_is_declaration (die, cu))
|
||||
TYPE_FLAGS (type) |= TYPE_FLAG_STUB;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user