2003-11-15 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-mips.h
index 59aeb5dcc2acfc056744558e26ced9ef9f38cd8e..35aa8888774cc3838d4c98b2acbb6c11a2f4f0f3 100644 (file)
@@ -45,12 +45,6 @@ extern int mips_step_skips_delay (CORE_ADDR);
 #define STEP_SKIPS_DELAY_P (1)
 #define STEP_SKIPS_DELAY(pc) (mips_step_skips_delay (pc))
 
-/* The size of a register.  This is predefined in tm-mips64.h.  */
-
-#ifndef MIPS_REGSIZE
-#define MIPS_REGSIZE 4
-#endif
-
 /* Initializer for an array of names for registers 32 and above.
    There should be NUM_REGS-32 strings in this initializer.  */
 
@@ -98,7 +92,7 @@ extern int mips_step_skips_delay (CORE_ADDR);
 /* Index within `registers' of the first byte of the space for
    register N.  */
 
-#define MIPS_REGISTER_BYTE(N) ((N) * MIPS_REGSIZE)
+#define MIPS_REGISTER_BYTE(N) ((N) * mips_regsize (current_gdbarch))
 
 /* Return the GDB type object for the "standard" data type of data in
    register N.  */
This page took 0.023824 seconds and 4 git commands to generate.