aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 416219e..584fdeb 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -566,7 +566,8 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
}
else
{
- struct_return = using_struct_return (value_type (function), values_type);
+ struct_return = using_struct_return (gdbarch,
+ value_type (function), values_type);
target_values_type = values_type;
}