diff options
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 3f2a127..76f62b5 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -12965,7 +12965,7 @@ read_structure_type (struct die_info *die, struct dwarf2_cu *cu) } else { - TYPE_CODE (type) = TYPE_CODE_CLASS; + TYPE_CODE (type) = TYPE_CODE_STRUCT; } if (cu->language == language_cplus && die->tag == DW_TAG_class_type) |