diff options
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r-- | gdb/frv-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 1a709b9..0922a8e 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1211,7 +1211,7 @@ frv_push_dummy_call (struct gdbarch *gdbarch, struct value *function, stack_space = 0; for (argnum = 0; argnum < nargs; ++argnum) - stack_space += align_up (value_type (args[argnum])->length (), 4); + stack_space += align_up (args[argnum]->type ()->length (), 4); stack_space -= (6 * 4); if (stack_space > 0) @@ -1231,7 +1231,7 @@ frv_push_dummy_call (struct gdbarch *gdbarch, struct value *function, for (argnum = 0; argnum < nargs; ++argnum) { arg = args[argnum]; - arg_type = check_typedef (value_type (arg)); + arg_type = check_typedef (arg->type ()); len = arg_type->length (); typecode = arg_type->code (); |