From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14875 invoked by alias); 1 Dec 2011 20:13:12 -0000 Received: (qmail 14865 invoked by uid 22791); 1 Dec 2011 20:13:10 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Dec 2011 20:12:58 +0000 Received: by vbbfn1 with SMTP id fn1so2085746vbb.0 for ; Thu, 01 Dec 2011 12:12:57 -0800 (PST) Received: by 10.52.94.227 with SMTP id df3mr8040739vdb.51.1322770377532; Thu, 01 Dec 2011 12:12:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.94.227 with SMTP id df3mr8040730vdb.51.1322770377471; Thu, 01 Dec 2011 12:12:57 -0800 (PST) Received: by 10.220.97.211 with HTTP; Thu, 1 Dec 2011 12:12:57 -0800 (PST) In-Reply-To: <20111201194954.GA13230@host2.jankratochvil.net> References: <20111124000052.14DC12461B1@ruffy.mtv.corp.google.com> <20111127204011.GA4606@host1.jankratochvil.net> <20111201194954.GA13230@host2.jankratochvil.net> Date: Thu, 01 Dec 2011 20:13:00 -0000 Message-ID: Subject: Re: [RFA] Don't immediately SIGTERM the child of "target remote |". From: Doug Evans To: Jan Kratochvil Cc: Eli Zaretskii , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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: 2011-12/txt/msg00019.txt.bz2 On Thu, Dec 1, 2011 at 11:49 AM, Jan Kratochvil wrote: > On Thu, 01 Dec 2011 20:46:35 +0100, Doug Evans wrote: >> +extern int wait_to_die_with_timeout (int pid, int *status, int timeout); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0pid_t pid > just a nitpick I thought of that but punted on portability grounds. There are lots of places in gdb that still use int. It *would* be preferable. And the code does live inside #ifdef HAVE_WAITPID.