diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-07-02 20:54:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-07-02 20:54:02 +0000 |
commit | d8a80e6ddc7297d1fba25a25c35657822b161879 (patch) | |
tree | 319ce6f816f48daf461ee107cd61de5068514a7c /gdb | |
parent | c0bca41c47f33107aab192e534633a4c6cb0cd6d (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/config/mips/nm-riscos.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0ffc1f..b8d2928 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com) + + * 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. + Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * c-exp.y (yylex): Give error if unmatched single quote. 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) \ |