This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Wait for exit after "target remote |"
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Daniel Jacobowitz <dan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 31 Aug 2010 19:07:22 -0700
- Subject: Re: RFC: Wait for exit after "target remote |"
- References: <20100830191215.GH28036@caradoc.them.org>
> 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