* Makefile.in (VERSION): Roll to 4.6.8.
[deliverable/binutils-gdb.git] / gdb / tm-umax.h
index 08f7e950119aeb4b9914cb5f9c9f222e8f6a885b..0e74b92ad6a1ccc1461238e8c79f6c2ad7bf1f75 100644 (file)
@@ -113,6 +113,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
    to be actual register numbers as far as the user is concerned
    but do serve to get the desired values when passed to read_register.  */
 
+#define        R0_REGNUM 0             /* General register 0 */
 #define FP0_REGNUM 8           /* Floating point register 0 */
 #define SP_REGNUM 16           /* Contains address of top of stack */
 #define AP_REGNUM FP_REGNUM
@@ -124,7 +125,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Total amount of space needed to store our copies of the machine's
    register state, the array `registers'.  */
-#define REGISTER_BYTES ((NUM_REGS - 4) * sizeof (int) + 4 * sizeof (double))
+#define REGISTER_BYTES \
+  ((NUM_REGS - 4) * REGISTER_RAW_SIZE(R0_REGNUM) \
+   + 4            * REGISTER_RAW_SIZE(LP0_REGNUM))
 
 /* Index within `registers' of the first byte of the space for
    register N.  */
This page took 0.025136 seconds and 4 git commands to generate.