aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-mips.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-12 07:11:48 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-12 07:11:48 +0000
commitdf6335e19f0b678f5c3842cb91e1373b1f27eafc (patch)
tree717720a5cbf7a85b2c11156a1b6a2d9565070b45 /gdb/tm-mips.h
parent96eb46258b717266ddef1f850be124c6925a8a3f (diff)
downloadgdb-df6335e19f0b678f5c3842cb91e1373b1f27eafc.zip
gdb-df6335e19f0b678f5c3842cb91e1373b1f27eafc.tar.gz
gdb-df6335e19f0b678f5c3842cb91e1373b1f27eafc.tar.bz2
* tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move
REGISTER_U_ADDR to corresponding xm- file. Sugg. by Peter Schauer.
Diffstat (limited to 'gdb/tm-mips.h')
-rw-r--r--gdb/tm-mips.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h
index b57b04a..7eb7f55 100644
--- a/gdb/tm-mips.h
+++ b/gdb/tm-mips.h
@@ -136,20 +136,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define DO_REGISTERS_INFO(_regnum, fp) mips_do_registers_info(_regnum, fp)
-#define REGISTER_U_ADDR(addr, blockend, regno) \
- if (blockend == 0) { \
- if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\
- else addr = 0; /* ..somewhere in the pcb */ \
- } else if (regno < 32) addr = regno; \
- else if (regno == PC_REGNUM) addr = 96; \
- else if (regno == 36) addr = 97; \
- else if (regno == HI_REGNUM) addr = 98; \
- else if (regno == LO_REGNUM) addr = 99; \
- else if (regno == FCRCS_REGNUM) addr = 100; \
- else if (regno == FCRIR_REGNUM) addr = 101; \
- else if (regno >= FP0_REGNUM) addr = regno - (FP0_REGNUM-32);\
- else addr = 0;
-
/* Total amount of space needed to store our copies of the machine's
register state, the array `registers'. */
#define REGISTER_BYTES (NUM_REGS*4)