aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index b00785c..4fd97ae 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -1056,10 +1056,8 @@ the function call).", name);
}
else
{
- struct value *retval = value_being_returned (value_type,
- retbuf,
- struct_return,
- struct_addr);
+ struct value *retval = value_being_returned (value_type, retbuf,
+ struct_return);
do_cleanups (retbuf_cleanup);
return retval;
}