diff options
Diffstat (limited to 'gdb/nios2-tdep.c')
-rw-r--r-- | gdb/nios2-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c index b090680a7af..be5544ec9fd 100644 --- a/gdb/nios2-tdep.c +++ b/gdb/nios2-tdep.c @@ -1839,7 +1839,7 @@ nios2_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct type *arg_type = check_typedef (value_type (arg)); int len = TYPE_LENGTH (arg_type); - val = value_contents (arg); + val = value_contents (arg).data (); /* Copy the argument to general registers or the stack in register-sized pieces. Large arguments are split between |