Add dwarf2_per_objfile member to DWARF batons
[deliverable/binutils-gdb.git] / gdb / or1k-tdep.c
index 37fb90c391d2f4ec259d08951e47c3863ddb2a60..75df206a2bd409eeebef9074cbbac842d08b80be 100644 (file)
@@ -635,7 +635,7 @@ or1k_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
       int len = TYPE_LENGTH (arg_type);
       enum type_code typecode = arg_type->code ();
 
-      if (TYPE_VARARGS (func_type) && argnum >= TYPE_NFIELDS (func_type))
+      if (TYPE_VARARGS (func_type) && argnum >= func_type->num_fields ())
        break; /* end or regular args, varargs go to stack.  */
 
       /* Extract the value, either a reference or the data.  */
This page took 0.034493 seconds and 4 git commands to generate.