gdb: remove TYPE_NFIELDS macro
[deliverable/binutils-gdb.git] / gdb / f-valprint.c
index 76981fa4117163f3d3cfd2cdf970f49db0d1cb9c..bd16a4348d34269819f8d7f3bcf1afcdfda322e0 100644 (file)
@@ -313,7 +313,7 @@ f_value_print_innner (struct value *val, struct ui_file *stream, int recurse,
       /* Starting from the Fortran 90 standard, Fortran supports derived
          types.  */
       fprintf_filtered (stream, "( ");
-      for (index = 0; index < TYPE_NFIELDS (type); index++)
+      for (index = 0; index < type->num_fields (); index++)
         {
          struct value *field = value_field (val, index);
 
This page took 0.026927 seconds and 4 git commands to generate.