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/tic6x-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/tic6x-tdep.c')
-rw-r--r-- | gdb/tic6x-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c index 57945d2..4227e71 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. */ |