diff options
Diffstat (limited to 'gdb/rx-tdep.c')
-rw-r--r-- | gdb/rx-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 675c51c..67db30a 100644 --- a/gdb/rx-tdep.c +++ b/gdb/rx-tdep.c @@ -668,7 +668,7 @@ rx_push_dummy_call (struct gdbarch *gdbarch, struct value *function, CORE_ADDR cfa; int num_register_candidate_args; - struct type *func_type = value_type (function); + struct type *func_type = function->type (); /* Dereference function pointer types. */ while (func_type->code () == TYPE_CODE_PTR) @@ -726,7 +726,7 @@ rx_push_dummy_call (struct gdbarch *gdbarch, struct value *function, { struct value *arg = args[i]; const gdb_byte *arg_bits = value_contents_all (arg).data (); - struct type *arg_type = check_typedef (value_type (arg)); + struct type *arg_type = check_typedef (arg->type ()); ULONGEST arg_size = arg_type->length (); if (i == 0 && struct_addr != 0 |