gdb: remove TYPE_VARARGS
gdb/ChangeLog: * gdbtypes.h (TYPE_VARARGS): Remove, replace all uses with type::has_varargs. Change-Id: Ieea4a64b4bfa4b8be643e68cb403081881133740
This commit is contained in:
parent
1d6286ed04
commit
a409645d13
17 changed files with 30 additions and 27 deletions
|
@ -889,7 +889,7 @@ tic6x_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
|||
|
||||
/* For a variadic C function, the last explicitly declared argument and all
|
||||
remaining arguments are passed on the stack. */
|
||||
if (TYPE_VARARGS (func_type))
|
||||
if (func_type->has_varargs ())
|
||||
first_arg_on_stack = func_type->num_fields () - 1;
|
||||
|
||||
/* Now make space on the stack for the args. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue