aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:02 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:02 -0400
commita409645d13f6cddef4827cf7240c01ec3e09559c (patch)
treea446c4702fd973b9e71b1fea594bf3e3aff5a68b /gdb/valops.c
parent1d6286ed048eb1997a0afea0f18cb9eb1789f386 (diff)
downloadgdb-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/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 60f6041..aba4c70 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -2010,7 +2010,7 @@ search_struct_method (const char *name, struct value **arg1p,
while (j >= 0)
{
if (!typecmp (TYPE_FN_FIELD_STATIC_P (f, j),
- TYPE_VARARGS (TYPE_FN_FIELD_TYPE (f, j)),
+ TYPE_FN_FIELD_TYPE (f, j)->has_varargs (),
TYPE_FN_FIELD_TYPE (f, j)->num_fields (),
TYPE_FN_FIELD_ARGS (f, j), args))
{