aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/xm-sun4os4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/xm-sun4os4.h')
-rw-r--r--gdb/config/sparc/xm-sun4os4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/sparc/xm-sun4os4.h b/gdb/config/sparc/xm-sun4os4.h
index db2c815..03d1c8f 100644
--- a/gdb/config/sparc/xm-sun4os4.h
+++ b/gdb/config/sparc/xm-sun4os4.h
@@ -57,3 +57,9 @@ extern int free ();
/* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */
#define PTRACE_ARG3_TYPE char*
+
+/* Using termios is required to save and restore ICRNL and ONLCR
+ separately. */
+
+/* At least SunOS 4.1.1 has termios. I'm not sure about 4.0.3. */
+#define HAVE_TERMIOS