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/s390-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/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index bc6f98e..efe650a 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -1939,7 +1939,7 @@ s390_push_dummy_call (struct gdbarch *gdbarch, struct value *function, and arg_state.argp with the size of the parameter area. */ for (i = 0; i < nargs; i++) s390_handle_arg (&arg_state, args[i], tdep, word_size, byte_order, - TYPE_VARARGS (ftype) && i >= ftype->num_fields ()); + ftype->has_varargs () && i >= ftype->num_fields ()); param_area_start = align_down (arg_state.copy - arg_state.argp, 8); @@ -1966,7 +1966,7 @@ s390_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* Write all parameters. */ for (i = 0; i < nargs; i++) s390_handle_arg (&arg_state, args[i], tdep, word_size, byte_order, - TYPE_VARARGS (ftype) && i >= ftype->num_fields ()); + ftype->has_varargs () && i >= ftype->num_fields ()); /* Store return PSWA. In 31-bit mode, keep addressing mode bit. */ if (word_size == 4) |