diff options
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/xm-i386sco.h | 4 | ||||
-rw-r--r-- | gdb/config/i386/xm-i386v32.h | 4 | ||||
-rw-r--r-- | gdb/config/m88k/xm-delta88.h | 3 | ||||
-rw-r--r-- | gdb/config/rs6000/xm-rs6000.h | 5 | ||||
-rw-r--r-- | gdb/config/sparc/xm-sun4os4.h | 6 | ||||
-rw-r--r-- | gdb/config/xm-sysv4.h | 12 |
6 files changed, 12 insertions, 22 deletions
diff --git a/gdb/config/i386/xm-i386sco.h b/gdb/config/i386/xm-i386sco.h index e500e26..968e0a0 100644 --- a/gdb/config/i386/xm-i386sco.h +++ b/gdb/config/i386/xm-i386sco.h @@ -27,10 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ the name of this field is. */ #define U_FPSTATE(u) u.u_fps.u_fpstate -/* TIOCGETC is defined in System V 3.2 termio.h, but struct tchars - is not. This makes problems for inflow.c. */ -#define TIOCGETC_BROKEN - /* All the job control definitions exist in SCO Unix, but the standard shells don't use them. So we must disable job control. */ /* This is no longer true with 3.2v2 and later */ diff --git a/gdb/config/i386/xm-i386v32.h b/gdb/config/i386/xm-i386v32.h index 129f8b8..bdec338 100644 --- a/gdb/config/i386/xm-i386v32.h +++ b/gdb/config/i386/xm-i386v32.h @@ -22,7 +22,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Apparently there is inconsistency among various System V's about what the name of this field is. */ #define U_FPSTATE(u) u.u_fps.u_fpstate - -/* TIOCGETC is defined in System V 3.2 termio.h, but struct tchars - is not. This makes problems for inflow.c. */ -#define TIOCGETC_BROKEN diff --git a/gdb/config/m88k/xm-delta88.h b/gdb/config/m88k/xm-delta88.h index 1fa0214..7398f58 100644 --- a/gdb/config/m88k/xm-delta88.h +++ b/gdb/config/m88k/xm-delta88.h @@ -24,9 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define USG 1 #endif -#define TIOCGETC_BROKEN 1 -#define TIOCGLTC_BROKEN 1 - #include <sys/param.h> #include <sys/time.h> diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h index 718b10a..b44287d 100644 --- a/gdb/config/rs6000/xm-rs6000.h +++ b/gdb/config/rs6000/xm-rs6000.h @@ -37,7 +37,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_BYTE_ORDER BIG_ENDIAN -#define HAVE_TERMIO 1 +/* At least as of AIX 3.2, we have termios. */ +#define HAVE_TERMIOS 1 +/* #define HAVE_TERMIO 1 */ + #define USG 1 #define HAVE_SIGSETMASK 1 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 diff --git a/gdb/config/xm-sysv4.h b/gdb/config/xm-sysv4.h index c2cc1f6..0805768 100644 --- a/gdb/config/xm-sysv4.h +++ b/gdb/config/xm-sysv4.h @@ -22,22 +22,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SVR4_SHARED_LIBS -/* SVR4 has termio facilities. */ +/* SVR4 has termios facilities. */ -#define HAVE_TERMIO +#define HAVE_TERMIOS /* SVR4 has mmap facilities */ #define HAVE_MMAP -/* TIOCGETC and TIOCGLTC are picked up somewhere, but struct tchars - and struct ltchars are not. This makes problems for inflow.c. - It is unknown at this time if this is a generic SVR4 problem or - one just limited to the initial SVR4 port host machine. */ - -#define TIOCGETC_BROKEN -#define TIOCGLTC_BROKEN - /* SVR4 is a derivative of System V Release 3 (USG) */ #define USG |