From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18288 invoked by alias); 2 Sep 2010 17:13:03 -0000 Received: (qmail 18260 invoked by uid 22791); 2 Sep 2010 17:13:00 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Sep 2010 17:12:26 +0000 Received: (qmail 13836 invoked from network); 2 Sep 2010 17:12:24 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Sep 2010 17:12:24 -0000 Date: Thu, 02 Sep 2010 18:41:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: RFC: Wait for exit after "target remote |" Message-ID: <20100902171221.GM28036@caradoc.them.org> References: <20100830191215.GH28036@caradoc.them.org> <20100901020722.GV2986@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100901020722.GV2986@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00103.txt.bz2 On Tue, Aug 31, 2010 at 07:07:22PM -0700, Joel Brobecker wrote: > > 2010-08-30 Daniel Jacobowitz > > > > * 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