From 42280556eb419e7e8d09f1047c75ad1b20205d9d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 27 Jun 1993 14:28:30 +0000 Subject: [PATCH] * config/mips/riscos.mh (CC): Use -systype sysv. --- gdb/ChangeLog | 2 ++ gdb/config/mips/riscos.mh | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65120468a95..ea5d97f49f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * config/mips/riscos.mh (CC): Use -systype sysv. + * ser-unix.c: Move #include of to HAVE_SGTTY section. * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h. diff --git a/gdb/config/mips/riscos.mh b/gdb/config/mips/riscos.mh index 8a7f4ffe7ff..fecc9b5e2af 100644 --- a/gdb/config/mips/riscos.mh +++ b/gdb/config/mips/riscos.mh @@ -5,3 +5,10 @@ REGEX= regex.o REGEX1= regex.o MUNCH_DEFINE=-B MH_CFLAGS=-Wf,-XNh10000 +# 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 -- 2.30.2