diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2008-03-12 14:10:56 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2008-03-12 14:10:56 +0000 |
commit | 8da5a53dcaf1316a1d984f3daeaa74619c964798 (patch) | |
tree | 7f7f74055a9e2cf47fd80de3aab6713fae5f0560 /gdb/terminal.h | |
parent | 4ab486b7cb8d4ee1b4a005fb3d81acd1b9b412b4 (diff) | |
download | gdb-8da5a53dcaf1316a1d984f3daeaa74619c964798.tar.gz |
* configure.ac (AC_CHECK_FUNCS): Add check for setsid.
* config.in, configure: Regenerate.
* fork-child.c (fork_inferior): Call create_tty_session.
* inflow.c (new_tty): Set controlling terminal with TIOCSCTTY.
(create_tty_session): New function.
* terminal.h: Declare create_tty_session.
Diffstat (limited to 'gdb/terminal.h')
-rw-r--r-- | gdb/terminal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/terminal.h b/gdb/terminal.h index 911a23a355a..743be6c1dc0 100644 --- a/gdb/terminal.h +++ b/gdb/terminal.h @@ -82,6 +82,8 @@ extern void new_tty (void); a given run of GDB. In inflow.c. */ extern int job_control; +extern int create_tty_session (void); + /* Set the process group of the caller to its own pid, or do nothing if we lack job control. */ extern int gdb_setpgid (void); |