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: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 2 Sep 2010 13:12:21 -0400
- Subject: Re: RFC: Wait for exit after "target remote |"
- References: <20100830191215.GH28036@caradoc.them.org> <20100901020722.GV2986@adacore.com>
On Tue, Aug 31, 2010 at 07:07:22PM -0700, Joel Brobecker wrote:
> > 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).
Thanks. In that case, I've put this in (HEAD only).
--
Daniel Jacobowitz
CodeSourcery