diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index ea3e15be53b..9cb30ce0acd 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -1035,6 +1035,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, t->set_code (type_code); t->set_length (sh->value); t->alloc_fields (nfields); + f = t->fields(); if (type_code == TYPE_CODE_ENUM) {