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/arm-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/arm-tdep.c') diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 1a50174..1eeaea3 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -3694,7 +3694,7 @@ arm_vfp_abi_for_function (struct gdbarch *gdbarch, struct type *func_type) struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); /* Variadic functions always use the base ABI. Assume that functions without debug info are not variadic. */ - if (func_type && TYPE_VARARGS (check_typedef (func_type))) + if (func_type && check_typedef (func_type)->has_varargs ()) return 0; /* The VFP ABI is only supported as a variant of AAPCS. */ if (tdep->arm_abi != ARM_ABI_AAPCS) -- cgit v1.1