aboutsummaryrefslogtreecommitdiff
path: root/gdb/ia64-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r--gdb/ia64-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index f446c41..7f09ce4 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -3697,7 +3697,7 @@ ia64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
for (argno = 0; argno < nargs; argno++)
{
arg = args[argno];
- type = check_typedef (value_type (arg));
+ type = check_typedef (arg->type ());
len = type->length ();
if ((nslots & 1) && slot_alignment_is_next_even (type))
@@ -3740,7 +3740,7 @@ ia64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
struct type *float_elt_type;
arg = args[argno];
- type = check_typedef (value_type (arg));
+ type = check_typedef (arg->type ());
len = type->length ();
/* Special handling for function parameters. */