aboutsummaryrefslogtreecommitdiff
path: root/gdb/csky-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/csky-tdep.c')
-rw-r--r--gdb/csky-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c
index 657ba75..8835aba 100644
--- a/gdb/csky-tdep.c
+++ b/gdb/csky-tdep.c
@@ -362,7 +362,7 @@ csky_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
arg_type = check_typedef (value_type (args[argnum]));
len = TYPE_LENGTH (arg_type);
- val = value_contents (args[argnum]);
+ val = value_contents (args[argnum]).data ();
/* Copy the argument to argument registers or the dummy stack.
Large arguments are split between registers and stack.