diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:02 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:02 -0400 |
commit | a409645d13f6cddef4827cf7240c01ec3e09559c (patch) | |
tree | a446c4702fd973b9e71b1fea594bf3e3aff5a68b /gdb/arm-tdep.c | |
parent | 1d6286ed048eb1997a0afea0f18cb9eb1789f386 (diff) | |
download | gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.zip gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.tar.gz gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.tar.bz2 |
gdb: remove TYPE_VARARGS
gdb/ChangeLog:
* gdbtypes.h (TYPE_VARARGS): Remove, replace all
uses with type::has_varargs.
Change-Id: Ieea4a64b4bfa4b8be643e68cb403081881133740
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |