* defs.h (wait_to_die_with_timeout): Declare.
authorDoug Evans <dje@google.com>
Wed, 14 Dec 2011 20:53:57 +0000 (20:53 +0000)
committerDoug Evans <dje@google.com>
Wed, 14 Dec 2011 20:53:57 +0000 (20:53 +0000)
commit0b6cb71e500807ed48bc5317bb7ec03b073fc0a0
tree876bb7834ffd9b4d1c81f8b97feb39731a6a6664
parentafaabefa90aba4f0e37e7ed865ccd64b66dfa354
* defs.h (wait_to_die_with_timeout): Declare.
* utils.c: #include "gdb_wait.h".
(sigalrm_handler, wait_to_die_with_timeout): New functions.
* ser-pipe.c: Don't #include "gdb_wait.h".
(pipe_close): Give child a chance to die on its own after closing
its stdin before SIGTERM'ing it.
gdb/ChangeLog
gdb/defs.h
gdb/ser-pipe.c
gdb/utils.c