From a409645d13f6cddef4827cf7240c01ec3e09559c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 14 Sep 2020 11:08:02 -0400 Subject: gdb: remove TYPE_VARARGS gdb/ChangeLog: * gdbtypes.h (TYPE_VARARGS): Remove, replace all uses with type::has_varargs. Change-Id: Ieea4a64b4bfa4b8be643e68cb403081881133740 --- gdb/nds32-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/nds32-tdep.c') diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c index 94ac234..fc90797 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -1495,7 +1495,7 @@ nds32_push_dummy_call (struct gdbarch *gdbarch, struct value *function, For ABI2FP+, the caller pushes only named arguments in registers and pushes all unnamed arguments in stack. */ - if (abi_use_fpr && TYPE_VARARGS (func_type) + if (abi_use_fpr && func_type->has_varargs () && i >= func_type->num_fields ()) goto use_stack; -- cgit v1.1