diff options
author | K. Richard Pixley <rich@cygnus> | 1992-10-28 07:08:52 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-10-28 07:08:52 +0000 |
commit | b1de302a446a95a719c835ddf02d833f23c1e4af (patch) | |
tree | ddae019cb3596d1623a08425b77a112d998422da /gdb/xm-hp300bsd.h | |
parent | 7aae0974c21c5f0b22a0827b12bfedecec19cbaf (diff) | |
download | gdb-b1de302a446a95a719c835ddf02d833f23c1e4af.zip gdb-b1de302a446a95a719c835ddf02d833f23c1e4af.tar.gz gdb-b1de302a446a95a719c835ddf02d833f23c1e4af.tar.bz2 |
hp300 native support
Diffstat (limited to 'gdb/xm-hp300bsd.h')
-rw-r--r-- | gdb/xm-hp300bsd.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/xm-hp300bsd.h b/gdb/xm-hp300bsd.h index 32102d8..c7da722 100644 --- a/gdb/xm-hp300bsd.h +++ b/gdb/xm-hp300bsd.h @@ -37,30 +37,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Get kernel u area address at run-time using BSD style nlist (). */ #define KERNEL_U_ADDR_BSD -/* 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) \ -{ \ - if (regno < PS_REGNUM) \ - addr = (int) &((struct frame *)(blockend))->f_regs[regno]; \ - else if (regno == PS_REGNUM) \ - addr = (int) &((struct frame *)(blockend))->f_stackadj; \ - else if (regno == PC_REGNUM) \ - addr = (int) &((struct frame *)(blockend))->f_pc; \ - else if (regno < FPC_REGNUM) \ - addr = (int) \ - &((struct user *)0)->u_pcb.pcb_fpregs.fpf_regs[((regno)-FP0_REGNUM)*3];\ - else if (regno == FPC_REGNUM) \ - addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpcr; \ - else if (regno == FPS_REGNUM) \ - addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpsr; \ - else \ - addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpiar; \ -} - /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ #define ONE_PROCESS_WRITETEXT |