* fork-child.c (fork_inferior): Don't call target_terminal_init
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 30 Sep 1993 20:41:17 +0000 (20:41 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 30 Sep 1993 20:41:17 +0000 (20:41 +0000)
commit01dfd415135645a6703f8d3bb2d591bdf89b51ef
tree1fdc0c488ed1ec90885ba6abc8e66b89d147e42b
parent8d658c0866a3cb9beb3a049e1110858c29458e7d
* fork-child.c (fork_inferior): Don't call target_terminal_init
and target_terminal_inferior until we are sure that the inferior
has called gdb_setpgid.  This fixes PR 2900 (Schauer tracked it
down and was able to reliably reproduce it by putting a sleep()
before the gdb_setpgid()).
gdb/ChangeLog
gdb/fork-child.c