mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
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:
@ -1083,7 +1083,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch,
|
||||
non-vararg argument to be on the stack, no matter how many
|
||||
registers have been used so far. */
|
||||
if (sh_is_renesas_calling_convention (func_type)
|
||||
&& TYPE_VARARGS (func_type))
|
||||
&& func_type->has_varargs ())
|
||||
last_reg_arg = func_type->num_fields () - 2;
|
||||
|
||||
/* First force sp to a 4-byte alignment. */
|
||||
@ -1224,7 +1224,7 @@ sh_push_dummy_call_nofpu (struct gdbarch *gdbarch,
|
||||
non-vararg argument to be on the stack, no matter how many
|
||||
registers have been used so far. */
|
||||
if (sh_is_renesas_calling_convention (func_type)
|
||||
&& TYPE_VARARGS (func_type))
|
||||
&& func_type->has_varargs ())
|
||||
last_reg_arg = func_type->num_fields () - 2;
|
||||
|
||||
/* First force sp to a 4-byte alignment. */
|
||||
|
Reference in New Issue
Block a user