gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / mdebugread.c
index aeecb14f19e02ded117389e02617306847a7cdae..20fdd40d5083950047e94af3244d414f74ae485a 100644 (file)
@@ -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;
This page took 0.026118 seconds and 4 git commands to generate.