gdb: remove TYPE_FIELD macro
[deliverable/binutils-gdb.git] / gdb / gnu-v3-abi.c
index 064f924c7691285d6be18168d5e733db2524b120..6faaca2e0416d2b991e3f6eed004b1c47d5367f1 100644 (file)
@@ -1528,7 +1528,7 @@ gnuv3_pass_by_reference (struct type *type)
      about recursive loops here, since we are only looking at members
      of complete class type.  Also ignore any static members.  */
   for (fieldnum = 0; fieldnum < type->num_fields (); fieldnum++)
-    if (!field_is_static (&TYPE_FIELD (type, fieldnum)))
+    if (!field_is_static (&type->field (fieldnum)))
       {
        struct type *field_type = TYPE_FIELD_TYPE (type, fieldnum);
 
This page took 0.025944 seconds and 4 git commands to generate.