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 | |
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')
-rw-r--r-- | gdb/config/mips/nm-riscos.h | 4 | ||||
-rw-r--r-- | gdb/config/mips/xm-riscos.h | 3 |
2 files changed, 7 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); \ diff --git a/gdb/config/mips/xm-riscos.h b/gdb/config/mips/xm-riscos.h index f94196a..ba3845e 100644 --- a/gdb/config/mips/xm-riscos.h +++ b/gdb/config/mips/xm-riscos.h @@ -25,3 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MEM_FNS_DECLARED #define USG 1 + +/* setjmp.h requires uid_t. */ +#include <sys/types.h> |