gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / i386-darwin-tdep.c
index 39081481790d1121b665d764ca7b14e0edd45ece..8f9fc2dcb2e718fb10fccc280ebefafc2145c8bb 100644 (file)
@@ -136,7 +136,7 @@ i386_darwin_arg_type_alignment (struct type *type)
     {
       int i;
       int res = 4;
-      for (i = 0; i < TYPE_NFIELDS (type); i++)
+      for (i = 0; i < type->num_fields (); i++)
        {
          int align
            = i386_darwin_arg_type_alignment (TYPE_FIELD_TYPE (type, i));
This page took 0.040796 seconds and 4 git commands to generate.