aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-08 22:18:27 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-08 22:18:27 +0000
commita14a8fad360ddc983045a94621380761fa30721d (patch)
treeb64070b1c3b4cc2823a3d2c3f6c2ca00b80c039d /gdb/serial.h
parent5357f1287d574310c08a9e54e8b903f9571d4129 (diff)
downloadgdb-a14a8fad360ddc983045a94621380761fa30721d.zip
gdb-a14a8fad360ddc983045a94621380761fa30721d.tar.gz
gdb-a14a8fad360ddc983045a94621380761fa30721d.tar.bz2
* inflow.c: Remove unused includes of sys/param.h, etc.
* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h, terminal.h: Move all the process group stuff back to inflow.c; that's a better place for it and fixes problems with trying to get/set the process group of a tty we're doing remote debugging on. * terminal.h: Skip the redefine crap if HAVE_TERMIOS.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index dfe15bc..7e7e530 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -54,7 +54,6 @@ struct serial_ops {
int (*noflush_set_tty_state)
PARAMS ((serial_t, serial_ttystate, serial_ttystate));
int (*setbaudrate) PARAMS ((serial_t, int rate));
- int (*set_process_group) PARAMS ((serial_t, serial_ttystate, int));
};
/* Add a new serial interface to the interface list */
@@ -151,18 +150,4 @@ void serial_close PARAMS ((serial_t));
#define SERIAL_UN_FDOPEN(SERIAL_T) (free (SERIAL_T))
-/* Set the process group saved in TTYSTATE to GROUP. This just modifies
- the ttystate setting; need to call SERIAL_SET_TTY_STATE for this to
- actually have any effect. If no job control, then don't do anything. */
-#define SERIAL_SET_PROCESS_GROUP(SERIAL_T, TTYSTATE, GROUP) \
- ((*((SERIAL_T)->ops->set_process_group)) (SERIAL_T, TTYSTATE, GROUP))
-
-/* Do we have job control? Can be assumed to always be the same within
- a given run of GDB. In ser-unix.c, ser-go32.c, etc. */
-extern int job_control;
-
-/* Set the process group of the caller to its own pid, or do nothing if
- we lack job control. */
-extern int gdb_setpgid PARAMS ((void));
-
#endif /* SERIAL_H */