diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-08 03:58:39 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-08 03:58:39 +0000 |
commit | 3206db62994574a8a500822a0446ce4376fb77a1 (patch) | |
tree | d3a2d6a987b7192eb5cd385732963d4ba6a6a297 | |
parent | e7ff735c897815d298748f6805bdc33b0b16ad33 (diff) | |
download | gdb-3206db62994574a8a500822a0446ce4376fb77a1.zip gdb-3206db62994574a8a500822a0446ce4376fb77a1.tar.gz gdb-3206db62994574a8a500822a0446ce4376fb77a1.tar.bz2 |
* config/mips/nm-riscos.h: machine/machparam.h is always the right
place to look for BSD43_NBPG, not machine/vmparam.h
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/config/mips/nm-riscos.h | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8452275..1e28508 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * config/mips/nm-riscos.h: machine/machparam.h is always the right + place to look for BSD43_NBPG, not machine/vmparam.h + * infcmd.c (run_stack_dummy): New argument name. Change error message in (another) attempt to make it comprehensible. * valops.c (call_function_by_hand): Pass name to run_stack_dummy. diff --git a/gdb/config/mips/nm-riscos.h b/gdb/config/mips/nm-riscos.h index 34ee24b..083b786 100644 --- a/gdb/config/mips/nm-riscos.h +++ b/gdb/config/mips/nm-riscos.h @@ -16,13 +16,15 @@ 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 + +/* Where is this used? I don't see any uses in mips-nat.c, and I don't think + the uses in infptrace.c are used if FETCH_INFERIOR_REGISTERS is defined. + Does the compiler react badly to "extern CORE_ADDR kernel_u_addr" (even + if never referenced)? */ #define KERNEL_U_ADDR BSD43_UADDR #define REGISTER_U_ADDR(addr, blockend, regno) \ |