From e5307300ce9089e52c3fedfc66c23206a6b14baa Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 2 Jul 1993 02:48:59 +0000 Subject: [PATCH] * config/mips/nm-riscos.h: Define NBPG and UPAGES. config/mips/xm-riscos.h: Include . --- gdb/config/mips/nm-riscos.h | 4 ++++ gdb/config/mips/xm-riscos.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/config/mips/nm-riscos.h b/gdb/config/mips/nm-riscos.h index a0c5b61fec4..991c88b9a7d 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 +#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 f94196a1463..ba3845ed937 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 -- 2.30.2