RFC: Wait for exit after "target remote |"

Joel Brobecker brobecker@adacore.com
Wed Sep 1 02:07:00 GMT 2010


> 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* config.in, configure: Regenerated.
> 	* configure.ac: Check for waitpid.
> 	* ser-pipe.c (pipe_close): Wait for the program to exit.

FWIW, I think that this is an improvement over the previous situation.
Leaving processes behind can be disastrous, whereas I also think that
the chances of a process not dying after a SIGTERM are slim (likely
unintentional).

-- 
Joel



More information about the Gdb-patches mailing list