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/rx-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/rx-tdep.c')
-rw-r--r-- | gdb/rx-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 0447794..6401ef2 100644 --- a/gdb/rx-tdep.c +++ b/gdb/rx-tdep.c @@ -686,7 +686,7 @@ rx_push_dummy_call (struct gdbarch *gdbarch, struct value *function, requiring multiple registers, etc. We rely instead on the value of the ``arg_reg'' variable to get these other details correct. */ - if (TYPE_VARARGS (func_type)) + if (func_type->has_varargs ()) num_register_candidate_args = func_type->num_fields () - 1; else num_register_candidate_args = 4; |