aboutsummaryrefslogtreecommitdiff
path: root/gdb/cris-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index edf4e74..cc8d763 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -821,7 +821,7 @@ cris_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
int reg_demand;
int i;
- len = value_type (args[argnum])->length ();
+ len = args[argnum]->type ()->length ();
val = value_contents (args[argnum]).data ();
/* How may registers worth of storage do we need for this argument? */