aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-13 21:31:33 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-13 21:31:33 +0000
commit48436ce6b9d02c4f4f9e3628e3dbe8247841fda9 (patch)
treeb10badbaf8b33470980fcfe273901727fafecf91 /gdb/infcmd.c
parent88d89dbb0e7a3522a9f2ecf3ff452f0f62bc0433 (diff)
downloadgdb-48436ce6b9d02c4f4f9e3628e3dbe8247841fda9.zip
gdb-48436ce6b9d02c4f4f9e3628e3dbe8247841fda9.tar.gz
gdb-48436ce6b9d02c4f4f9e3628e3dbe8247841fda9.tar.bz2
2003-09-13 Andrew Cagney <cagney@redhat.com>
* values.c (using_struct_return): Delete "function" and "funcaddr" parameters. * value.h (using_struct_return): Update declaration. * infcmd.c (finish_command_continuation): Update. (finish_command): Update. * infcall.c (call_function_by_hand): Update. * eval.c (evaluate_subexp_standard): Update.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 6831d6b..4fcfd88 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1149,9 +1149,7 @@ finish_command_continuation (struct continuation_arg *arg)
funcaddr = BLOCK_START (SYMBOL_BLOCK_VALUE (function));
- struct_return = using_struct_return (value_of_variable (function, NULL),
- funcaddr,
- check_typedef (value_type),
+ struct_return = using_struct_return (check_typedef (value_type),
BLOCK_GCC_COMPILED (SYMBOL_BLOCK_VALUE (function)));
print_return_value (struct_return, value_type);
@@ -1277,9 +1275,7 @@ finish_command (char *arg, int from_tty)
funcaddr = BLOCK_START (SYMBOL_BLOCK_VALUE (function));
struct_return =
- using_struct_return (value_of_variable (function, NULL),
- funcaddr,
- check_typedef (value_type),
+ using_struct_return (check_typedef (value_type),
BLOCK_GCC_COMPILED (SYMBOL_BLOCK_VALUE (function)));
print_return_value (struct_return, value_type);