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.
This commit is contained in:
Andrew Cagney
2003-11-22 22:15:23 +00:00
parent a69146da95
commit 00d3340373
5 changed files with 9 additions and 65 deletions

View File

@ -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