aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2008-03-12 14:10:56 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2008-03-12 14:10:56 +0000
commit83116857a35fc5125d098984fae29a549a2b29f3 (patch)
tree345c301a7e13d9bdb1cbd65fb38a0fbe0bf92e26 /gdb/configure.ac
parent2774f1a679efef2fc5f9f9a445f7c1e904a13225 (diff)
downloadgdb-83116857a35fc5125d098984fae29a549a2b29f3.zip
gdb-83116857a35fc5125d098984fae29a549a2b29f3.tar.gz
gdb-83116857a35fc5125d098984fae29a549a2b29f3.tar.bz2
* 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/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 2f1c33b..fcc3513 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -603,7 +603,7 @@ AC_CHECK_FUNCS(getuid getgid)
AC_CHECK_FUNCS(poll)
AC_CHECK_FUNCS(pread64)
AC_CHECK_FUNCS(sbrk)
-AC_CHECK_FUNCS(setpgid setpgrp)
+AC_CHECK_FUNCS(setpgid setpgrp setsid)
AC_CHECK_FUNCS(sigaction sigprocmask sigsetmask)
AC_CHECK_FUNCS(socketpair)
AC_CHECK_FUNCS(syscall)