2003-10-31 Andrew Cagney <cagney@redhat.com>

* s390-tdep.c (s390_cannot_extract_struct_value_address): New
	function.
	(s390_gdbarch_init): Set extract_struct_value_address.
	* arch-utils.c (generic_cannot_extract_struct_value_address):
	Delete function.
	* arch-utils.h (generic_cannot_extract_struct_value_address):
	Delete definition.
This commit is contained in:
Andrew Cagney
2003-10-31 22:19:12 +00:00
parent fdfb6fc861
commit c8b91b893c
3 changed files with 20 additions and 17 deletions

View File

@ -200,21 +200,6 @@ deprecated_register_convertible_not (int num)
}
/* Under some ABI's that specify the `struct convention' for returning
structures by value, by the time we've returned from the function,
the return value is sitting there in the caller's buffer, but GDB
has no way to find the address of that buffer.
On such architectures, use this function as your
extract_struct_value_address method. When asked to a struct
returned by value in this fashion, GDB will print a nice error
message, instead of garbage. */
CORE_ADDR
generic_cannot_extract_struct_value_address (char *dummy)
{
return 0;
}
CORE_ADDR
core_addr_identity (CORE_ADDR addr)
{