aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.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/infcmd.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/infcmd.c')
-rw-r--r--gdb/infcmd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index a7e0e15..2c8631e 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1086,13 +1086,7 @@ print_return_value (int structure_return, struct type *value_type)
a more complicated case of what is already being done in in the
inferior function call code. In fact, when inferior function
calls are made async, this will likely be made the norm. */
-#ifdef DEPRECATED_VALUE_RETURNED_FROM_STACK
-#define DEPRECATED_VALUE_RETURNED_FROM_STACK_P 1
-#else
-#define DEPRECATED_VALUE_RETURNED_FROM_STACK_P 0
-#endif
- else if (gdbarch_return_value_p (current_gdbarch)
- || DEPRECATED_VALUE_RETURNED_FROM_STACK_P)
+ else if (gdbarch_return_value_p (current_gdbarch))
/* We cannot determine the contents of the structure because it is
on the stack, and we don't know where, since we did not
initiate the call, as opposed to the call_function_by_hand