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 9fa1fb3..8fd68ba 100644
--- a/gdb/csky-tdep.c
+++ b/gdb/csky-tdep.c
@@ -808,7 +808,7 @@ csky_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
arg_type = check_typedef (args[argnum]->type ());
len = arg_type->length ();
- val = value_contents (args[argnum]).data ();
+ val = args[argnum]->contents ().data ();
/* Copy the argument to argument registers or the dummy stack.
Large arguments are split between registers and stack.