summaryrefslogtreecommitdiff
path: root/gdb/tic6x-tdep.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/tic6x-tdep.c
parent1d6286ed048eb1997a0afea0f18cb9eb1789f386 (diff)
downloadbinutils-gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.tar.gz
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/tic6x-tdep.c')
-rw-r--r--gdb/tic6x-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c
index 57945d21db7..4227e716622 100644
--- a/gdb/tic6x-tdep.c
+++ b/gdb/tic6x-tdep.c
@@ -889,7 +889,7 @@ tic6x_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
/* For a variadic C function, the last explicitly declared argument and all
remaining arguments are passed on the stack. */
- if (TYPE_VARARGS (func_type))
+ if (func_type->has_varargs ())
first_arg_on_stack = func_type->num_fields () - 1;
/* Now make space on the stack for the args. */