aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-02 20:54:02 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-02 20:54:02 +0000
commitd8a80e6ddc7297d1fba25a25c35657822b161879 (patch)
tree319ce6f816f48daf461ee107cd61de5068514a7c /gdb/config
parentc0bca41c47f33107aab192e534633a4c6cb0cd6d (diff)
downloadgdb-d8a80e6ddc7297d1fba25a25c35657822b161879.zip
gdb-d8a80e6ddc7297d1fba25a25c35657822b161879.tar.gz
gdb-d8a80e6ddc7297d1fba25a25c35657822b161879.tar.bz2
* configure.in (mipos-*-riscos*): New host and target; use riscos.
* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by vmparam.h, include machparam.h. (KERNEL_U_ADDR): Define to be BSD43_UADDR.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/mips/nm-riscos.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/mips/nm-riscos.h b/gdb/config/mips/nm-riscos.h
index 991c88b..34ee24b 100644
--- a/gdb/config/mips/nm-riscos.h
+++ b/gdb/config/mips/nm-riscos.h
@@ -17,8 +17,13 @@ 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>
+#ifndef BSD43_NBPG
+/* RISC/os 5.0 defines this in machparam.h. */
+#include <bsd43/machine/machparam.h>
+#endif
#define NBPG BSD43_NBPG
#define UPAGES BSD43_UPAGES
+#define KERNEL_U_ADDR BSD43_UADDR
#define REGISTER_U_ADDR(addr, blockend, regno) \
if (regno < FP0_REGNUM) \