projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11be346
)
Call setsid() when establishing new controlling terminal.
author
Stu Grossman
<grossman@cygnus>
Tue, 23 Jun 1992 06:21:14 +0000
(06:21 +0000)
committer
Stu Grossman
<grossman@cygnus>
Tue, 23 Jun 1992 06:21:14 +0000
(06:21 +0000)
gdb/cadillac.c
patch
|
blob
|
history
diff --git
a/gdb/cadillac.c
b/gdb/cadillac.c
index c8665e82f5fbd51d074bc1e4411766b4b8891d70..9bf824f2b7dfe9901d78014f7691587cbda65c11 100755
(executable)
--- a/
gdb/cadillac.c
+++ b/
gdb/cadillac.c
@@
-1348,6
+1348,7
@@
cadillac_initialize(cadillac_id, execarg)
/* Tell the rest of the world that Cadillac is now set up. */
cadillac = 1;
+ setsid(); /* Drop controlling tty, become pgrp master */
getpty(); /* Setup the pty */
dup2(inferior_tty, 0); /* Attach all GDB I/O to the pty */
dup2(inferior_tty, 1);