This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] discard gdbarch-ified macros


2002-08-19  Michael Snyder  <msnyder@redhat.com>

	* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete.
	(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.

Index: config/mips/tm-mips.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-mips.h,v
retrieving revision 1.36
diff -p -r1.36 tm-mips.h
*** config/mips/tm-mips.h	18 Aug 2002 18:59:53 -0000	1.36
--- config/mips/tm-mips.h	20 Aug 2002 02:01:48 -0000
*************** extern void mips_register_convert_from_t
*** 170,193 ****
  #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).  */
--- 170,175 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]