aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-10-31 22:19:12 +0000
committerAndrew Cagney <cagney@redhat.com>2003-10-31 22:19:12 +0000
commitc8b91b893c06b4e83e46a6db558c65ea2773ff7a (patch)
tree884f4d9ad461814e659be6cc000a9bf86bed60f8 /gdb/arch-utils.c
parentfdfb6fc8617608c91d6d14145073643980fd1356 (diff)
downloadgdb-c8b91b893c06b4e83e46a6db558c65ea2773ff7a.zip
gdb-c8b91b893c06b4e83e46a6db558c65ea2773ff7a.tar.gz
gdb-c8b91b893c06b4e83e46a6db558c65ea2773ff7a.tar.bz2
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.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 38ad486..21c5682 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -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)
{