diff options
Diffstat (limited to 'gdb/iq2000-tdep.c')
-rw-r--r-- | gdb/iq2000-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c index b80ee61..f2af69e 100644 --- a/gdb/iq2000-tdep.c +++ b/gdb/iq2000-tdep.c @@ -643,7 +643,7 @@ iq2000_push_dummy_call (struct gdbarch *gdbarch, struct value *function, i < nargs; i++) { - type = value_type (args[i]); + type = args[i]->type (); typelen = type->length (); if (typelen <= 4) { @@ -709,7 +709,7 @@ iq2000_push_dummy_call (struct gdbarch *gdbarch, struct value *function, for (i = 0; i < nargs; i++) { - type = value_type (args[i]); + type = args[i]->type (); typelen = type->length (); val = value_contents (args[i]).data (); if (typelen <= 4) |