aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-22 22:15:23 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-22 22:15:23 +0000
commit00d33403730071f7f733a4b3a27defc250aef3a2 (patch)
tree0f220d72b640b8d5d95291742baf7c00a44100d4 /gdb/infcall.c
parenta69146da95175ae2ab5043397ddf22db85302ed9 (diff)
downloadgdb-00d33403730071f7f733a4b3a27defc250aef3a2.zip
gdb-00d33403730071f7f733a4b3a27defc250aef3a2.tar.gz
gdb-00d33403730071f7f733a4b3a27defc250aef3a2.tar.bz2
2003-11-22 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function. * config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete declaration. (DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro. * infcall.c (call_function_by_hand): Delete #ifdef DEPRECATED_VALUE_RETURNED_FROM_STACK code. * infcmd.c (print_return_value): Ditto.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 7695c6a..0956f34 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -1075,22 +1075,6 @@ the function call).", name);
do_cleanups (inf_status_cleanup);
/* Figure out the value returned by the function. */
- /* elz: I defined this new macro for the hppa architecture only.
- this gives us a way to get the value returned by the function
- from the stack, at the same address we told the function to put
- it. We cannot assume on the pa that r28 still contains the
- address of the returned structure. Usually this will be
- overwritten by the callee. I don't know about other
- architectures, so I defined this macro */
- /* FIXME: cagney/2003-09-27: This is no longer needed. The problem
- is now handled directly be by the code below. */
-#ifdef DEPRECATED_VALUE_RETURNED_FROM_STACK
- if (struct_return)
- {
- do_cleanups (retbuf_cleanup);
- return DEPRECATED_VALUE_RETURNED_FROM_STACK (value_type, struct_addr);
- }
-#endif
if (struct_return)
{
/* NOTE: cagney/2003-09-27: This assumes that PUSH_DUMMY_CALL