summaryrefslogtreecommitdiff
path: root/gdb/signals.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/signals.h
parent0798b091648999794c6d598fd2a4d29f88ab2ef6 (diff)
downloadbinutils-gdb-c2e247c4ff760324df53fe50a9ef9168fd5e9452.tar.gz
* 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/signals.h')
-rw-r--r--gdb/signals.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/signals.h b/gdb/signals.h
index a89fc0387c7..08fa606ef09 100644
--- a/gdb/signals.h
+++ b/gdb/signals.h
@@ -22,13 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
eliminates certain signal names when job control is not supported,
(or, on some systems, when job control is there but doesn't work
the way GDB expects it to work). */
+/* This has been superceded by the job_control variable in serial.h. */
#include <signal.h>
-
-#ifdef NO_JOB_CONTROL
-# undef SIGTSTP
-# undef SIGSTOP
-# undef SIGCONT
-# undef SIGTTIN
-# undef SIGTTOU
-#endif