aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/xm-sysv4.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-30 22:20:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-30 22:20:53 +0000
commitc2e247c4ff760324df53fe50a9ef9168fd5e9452 (patch)
tree294925e76fa072b45c57eb038d0ab0a7f5c022a7 /gdb/config/xm-sysv4.h
parent0798b091648999794c6d598fd2a4d29f88ab2ef6 (diff)
downloadgdb-c2e247c4ff760324df53fe50a9ef9168fd5e9452.zip
gdb-c2e247c4ff760324df53fe50a9ef9168fd5e9452.tar.gz
gdb-c2e247c4ff760324df53fe50a9ef9168fd5e9452.tar.bz2
* inftarg.c: Remove unused include of terminal.h.
* signals.h: Don't undefine signals anymore. * main.c: Use job_control from serial.h. * fork-child.c (fork_inferior): Use gdb_setpgid. * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid. * utils.c (quit): Use current_target->to_terminal_ours to figure out whether we care about lack of job control, rather than __GO32__. * utils.c: Include serial.h not terminal.h (quit): Use job_control not TIOCGPGRP. * terminal.h: Don't undefine TIOCGPGRP. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT. * utils.c (quit): Use it. * serial.h: Add SERIAL_UN_FDOPEN. * utils.c (quit): Use it. * ser-unix.c: Add process group to ttystate. [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate. * inflow.c: Include serial.h not terminal.h. Use serial.h stuff to replace most of the maze of #ifdef's. * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function. * serial.h: Document SERIAL_SET_TTY_STATE as being immediate. * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and SERIAL_SET_PROCESS_GROUP. * inflow.c: Use them. * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h: Define HAVE_TERMIOS. * Various: Remove all use of TIOC*_BROKEN.
Diffstat (limited to 'gdb/config/xm-sysv4.h')
-rw-r--r--gdb/config/xm-sysv4.h12
1 files changed, 2 insertions, 10 deletions
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