aboutsummaryrefslogtreecommitdiff
path: root/gdb/or1k-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/or1k-tdep.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/or1k-tdep.c')
-rw-r--r--gdb/or1k-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c
index 75df206..6ba6503 100644
--- a/gdb/or1k-tdep.c
+++ b/gdb/or1k-tdep.c
@@ -635,7 +635,7 @@ or1k_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
int len = TYPE_LENGTH (arg_type);
enum type_code typecode = arg_type->code ();
- if (TYPE_VARARGS (func_type) && argnum >= func_type->num_fields ())
+ if (func_type->has_varargs () && argnum >= func_type->num_fields ())
break; /* end or regular args, varargs go to stack. */
/* Extract the value, either a reference or the data. */