diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-01 21:00:15 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-01 21:00:15 +0000 |
commit | 0abbc7715fd8e800364281b37b560a2f11987044 (patch) | |
tree | 5043e7cc1f24a38813d96a9d02f718ffc780374f | |
parent | de72ad1e33267ec28d9c4cff8832a7a9dc62a642 (diff) | |
download | gdb-0abbc7715fd8e800364281b37b560a2f11987044.zip gdb-0abbc7715fd8e800364281b37b560a2f11987044.tar.gz gdb-0abbc7715fd8e800364281b37b560a2f11987044.tar.bz2 |
miscellaneous fixes to make RISC/os work; see ChangeLog's
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | config/mh-riscos | 15 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/config/mips/nm-riscos.h | 4 | ||||
-rw-r--r-- | gdb/config/mips/riscos.mh | 4 |
6 files changed, 36 insertions, 3 deletions
@@ -1,9 +1,19 @@ +Thu Jul 1 15:46:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * configure.in: Use config/mh-riscos for mips-*-sysv*. + +Wed Jun 30 09:31:58 1993 Ian Lance Taylor (ian@cygnus.com) + + * configure: Correct error message for missing Makefile.in to + print correct directory. + Tue Jun 29 13:52:16 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * install.sh: kludge around 386BSD shell bug Tue Jun 29 13:06:49 1993 Per Bothner (bothner@rtl.cygnus.com) + * config.guess: Recognize NeXT. * config.guess: Recognize i486-ncr-sysv4. * Makefile.in (taz): rm $(TOOL)-$$VER before linking. diff --git a/config/mh-riscos b/config/mh-riscos index e69de29..e586b30 100644 --- a/config/mh-riscos +++ b/config/mh-riscos @@ -0,0 +1,15 @@ +# This is for a MIPS running RISC/os 4.52C. + +# This is needed for GDB, but needs to be in the top-level make because +# if a library is compiled with the bsd headers and gets linked with the +# sysv system libraries all hell can break loose (e.g. a jmp_buf might be +# a different size). +# ptrace(2) apparently has problems in the BSD environment. No workaround is +# known except to select the sysv environment. Could we use /proc instead? +# These "sysv environments" and "bsd environments" often end up being a pain. +# +# This is not part of CFLAGS because perhaps not all C compilers have this +# option. +CC= cc -systype sysv + +RANLIB = true diff --git a/configure.in b/configure.in index a4aebf5..6548922 100644 --- a/configure.in +++ b/configure.in @@ -90,6 +90,7 @@ case "${host}" in mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;; mips-sgi-irix4*) host_makefile_frag=config/mh-irix4 ;; mips-sgi-irix3*) host_makefile_frag=config/mh-sysv ;; + mips-*-sysv*) host_makefile_frag=config/mh-riscos ;; i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;; i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;; i[34]86-*-isc*) host_makefile_frag=config/mh-sysv ;; diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab06773..55385b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com) + * config/mips/nm-riscos.h: Remove unmatched #endif. + Define FETCH_INFERIOR_REGISTERS. + * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough. + Fix misspelling of NAT_FILE. + * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't print c_line. (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL diff --git a/gdb/config/mips/nm-riscos.h b/gdb/config/mips/nm-riscos.h index 31e829b..a0c5b61 100644 --- a/gdb/config/mips/nm-riscos.h +++ b/gdb/config/mips/nm-riscos.h @@ -41,6 +41,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ addr = PCB_OFFSET(pcb_fpc_eir); \ else \ addr = 0; -#endif #include "mips/nm-mips.h" + +/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ +#define FETCH_INFERIOR_REGISTERS diff --git a/gdb/config/mips/riscos.mh b/gdb/config/mips/riscos.mh index fecc9b5..e160b33 100644 --- a/gdb/config/mips/riscos.mh +++ b/gdb/config/mips/riscos.mh @@ -1,5 +1,5 @@ -NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o mips-nat.o -NM_FILE= nm-riscos.h +NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o +NAT_FILE= nm-riscos.h XM_FILE= xm-riscos.h REGEX= regex.o REGEX1= regex.o |