gdb: remove TYPE_VARARGS
[deliverable/binutils-gdb.git] / gdb / or1k-tdep.c
index 75df206a2bd409eeebef9074cbbac842d08b80be..6ba6503864fe7fc3a6e3f7aa2628b95685c3fc65 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 >= func_type->num_fields ())
+      if (func_type->has_varargs () && 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.022876 seconds and 4 git commands to generate.