diff options
author | John Gilmore <gnu@cygnus> | 1991-10-12 07:11:48 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-10-12 07:11:48 +0000 |
commit | df6335e19f0b678f5c3842cb91e1373b1f27eafc (patch) | |
tree | 717720a5cbf7a85b2c11156a1b6a2d9565070b45 /gdb/tm-pn.h | |
parent | 96eb46258b717266ddef1f850be124c6925a8a3f (diff) | |
download | gdb-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-pn.h')
-rw-r--r-- | gdb/tm-pn.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/tm-pn.h b/gdb/tm-pn.h index 980def7..1c2e77a 100644 --- a/gdb/tm-pn.h +++ b/gdb/tm-pn.h @@ -229,17 +229,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define PS_REGNUM 17 /* Contains processor status */ #define PC_REGNUM 18 /* Contains program counter */ -/* This is a piece of magic that is given a register number REGNO - and as BLOCKEND the address in the system of the end of the user structure - and stores in ADDR the address in the kernel or core dump - of that register. */ -#define REGISTER_U_ADDR(addr, blockend, regno) { \ - addr = blockend + regno * 4; \ - if (regno == PC_REGNUM) addr = blockend - 8 * 4; \ - if (regno == PS_REGNUM) addr = blockend - 7 * 4; \ - if (regno == SP_REGNUM) addr = blockend - 6 * 4; \ -} - /* Total amount of space needed to store our copies of the machine's register state, the array `registers'. */ #define REGISTER_BYTES (NUM_GEN_REGS*4 + NUM_CPU_REGS*4) |