Add dwarf2_per_cu_data::index
[deliverable/binutils-gdb.git] / gdb / m32c-tdep.c
index a49937a7bd25115d90b432ab9b30eb919999f2f0..d579616b06aa4a14b99362e78e50aa962fa09167 100644 (file)
@@ -2033,7 +2033,7 @@ m32c_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
        separately, but the code in GCC doesn't actually do so.  */
     if (TYPE_PROTOTYPED (func_type))
 #endif
-      num_prototyped_args = TYPE_NFIELDS (func_type);
+      num_prototyped_args = func_type->num_fields ();
   }
 
   /* First, if the function returns an aggregate by value, push a
This page took 0.022779 seconds and 4 git commands to generate.