diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-02 02:48:59 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-02 02:48:59 +0000 |
commit | e5307300ce9089e52c3fedfc66c23206a6b14baa (patch) | |
tree | cfe2aca065effdc6a07bfae3cb42132304545f28 /gdb/config/mips/nm-riscos.h | |
parent | b55cc8a2681f9d3fb7fdf38f89f2b0fd49a0d2bc (diff) | |
download | gdb-e5307300ce9089e52c3fedfc66c23206a6b14baa.zip gdb-e5307300ce9089e52c3fedfc66c23206a6b14baa.tar.gz gdb-e5307300ce9089e52c3fedfc66c23206a6b14baa.tar.bz2 |
* config/mips/nm-riscos.h: Define NBPG and UPAGES.
config/mips/xm-riscos.h: Include <sys/types.h>.
Diffstat (limited to 'gdb/config/mips/nm-riscos.h')
-rw-r--r-- | gdb/config/mips/nm-riscos.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/mips/nm-riscos.h b/gdb/config/mips/nm-riscos.h index a0c5b61..991c88b 100644 --- a/gdb/config/mips/nm-riscos.h +++ b/gdb/config/mips/nm-riscos.h @@ -16,6 +16,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD) +#include <bsd43/machine/vmparam.h> +#define NBPG BSD43_NBPG +#define UPAGES BSD43_UPAGES + #define REGISTER_U_ADDR(addr, blockend, regno) \ if (regno < FP0_REGNUM) \ addr = UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \ |