X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fmdebugread.c;h=20fdd40d5083950047e94af3244d414f74ae485a;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=aeecb14f19e02ded117389e02617306847a7cdae;hpb=3cabb6b0694b65c7b5ed800822ca08bd899fc1d1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index aeecb14f19..20fdd40d50 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -1233,8 +1233,8 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, case stMember: /* member of struct or union */ { - struct field *f - = &TYPE_FIELDS (top_stack->cur_type)[top_stack->cur_field++]; + struct field *f = &top_stack->cur_type->field (top_stack->cur_field); + top_stack->cur_field++; FIELD_NAME (*f) = name; SET_FIELD_BITPOS (*f, sh->value); bitsize = 0;