aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/config/mips/riscos.mh7
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6512046..ea5d97f 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 <sys/time.h> 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 8a7f4ff..fecc9b5 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