2003-09-28 Andrew Cagney <cagney@redhat.com>

* config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK):
	Rename VALUE_RETURNED_FROM_STACK.
	* infcmd.c (print_return_value): Update.
	* infcall.c (call_function_by_hand): Update.
This commit is contained in:
Andrew Cagney 2003-09-28 16:12:50 +00:00
parent 41d041d671
commit 9ff63c35fb
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2003-09-28 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK):
Rename VALUE_RETURNED_FROM_STACK.
* infcmd.c (print_return_value): Update.
* infcall.c (call_function_by_hand): Update.
2003-09-28 Mark Kettenis <kettenis@gnu.org>
* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add

View File

@ -121,7 +121,10 @@ extern int hppa_instruction_nullified (void);
told the callee to put it, rather than have the callee tell us. */
struct value *hppa_value_returned_from_stack (struct type *valtype,
CORE_ADDR addr);
#define VALUE_RETURNED_FROM_STACK(valtype,addr) \
/* FIXME: cagney/2003-09-27: This method should now be redundant.
Instead, when "struct return convention", the inferior function
call code always saves and uses the struct return's stack address. */
#define DEPRECATED_VALUE_RETURNED_FROM_STACK(valtype,addr) \
hppa_value_returned_from_stack (valtype, addr)
extern void hppa_frame_init_saved_regs (struct frame_info *);

View File

@ -1076,7 +1076,7 @@ the function call).", name);
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 */
#ifdef VALUE_RETURNED_FROM_STACK
#ifdef DEPRECATED_VALUE_RETURNED_FROM_STACK
if (struct_return)
{
do_cleanups (retbuf_cleanup);

View File

@ -1084,7 +1084,7 @@ print_return_value (int structure_return, struct type *value_type)
/* 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 case */
#ifdef VALUE_RETURNED_FROM_STACK
#ifdef DEPRECATED_VALUE_RETURNED_FROM_STACK
value = 0;
ui_out_text (uiout, "Value returned has type: ");
ui_out_field_string (uiout, "return-type", TYPE_NAME (value_type));