mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 17:51:57 +00:00
* dwarf2read.c (read_enumeration_type): Add comment.
This commit is contained in:
parent
50e8458f68
commit
137033e974
@ -1,3 +1,7 @@
|
||||
2008-01-08 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* dwarf2read.c (read_enumeration_type): Add comment.
|
||||
|
||||
2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||
|
||||
* config.in: Regenerate.
|
||||
|
@ -4233,6 +4233,11 @@ read_enumeration_type (struct die_info *die, struct dwarf2_cu *cu)
|
||||
TYPE_LENGTH (type) = 0;
|
||||
}
|
||||
|
||||
/* The enumeration DIE can be incomplete. In Ada, any type can be
|
||||
declared as private in the package spec, and then defined only
|
||||
inside the package body. Such types are known as Taft Amendment
|
||||
Types. When another package uses such a type, an incomplete DIE
|
||||
may be generated by the compiler. */
|
||||
if (die_is_declaration (die, cu))
|
||||
TYPE_FLAGS (type) |= TYPE_FLAG_STUB;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user