aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-08-20 19:32:47 +0000
committerMichael Snyder <msnyder@vmware.com>2002-08-20 19:32:47 +0000
commit73da396e0b7433c2b207da2204d0a1a6785df5e1 (patch)
treeb16e6da5c7b21c07ae8b20b72706930d7fd618f8 /gdb
parent2f1488ce234434761410fb65a4d7dc8671decf97 (diff)
downloadgdb-73da396e0b7433c2b207da2204d0a1a6785df5e1.zip
gdb-73da396e0b7433c2b207da2204d0a1a6785df5e1.tar.gz
gdb-73da396e0b7433c2b207da2204d0a1a6785df5e1.tar.bz2
2002-08-20 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete. (EXTRACT_STRUCT_VALUE_ADDRESS): Delete. * mips-tdep.c (mips_store_struct_return): New function. (mips_extract_struct_value_address): New function. (mips_gdbarch_init): Set store_struct_return and extract_struct_value_address.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/config/mips/tm-mips.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 572552c..7ace4dc 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -170,24 +170,6 @@ extern void mips_register_convert_from_type (int regnum,
#define REGISTER_CONVERT_FROM_TYPE(n, type, buffer) \
mips_register_convert_from_type ((n), (type), (buffer))
-/* Store the address of the place in which to copy the structure the
- subroutine will return. Handled by mips_push_arguments. */
-
-#define STORE_STRUCT_RETURN(addr, sp)
-/**/
-
-/* Extract from an array REGBUF containing the (raw) register state
- the address in which a function should return its structure value,
- as a CORE_ADDR (or an expression that can be used as one). */
-/* The address is passed in a0 upon entry to the function, but when
- the function exits, the compiler has copied the value to v0. This
- convention is specified by the System V ABI, so I think we can rely
- on it. */
-
-#define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
- (extract_address (REGBUF + REGISTER_BYTE (V0_REGNUM), \
- REGISTER_RAW_SIZE (V0_REGNUM)))
-
/* Describe the pointer in each stack frame to the previous stack frame
(its caller). */