From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7430 invoked by alias); 1 Sep 2011 10:08:11 -0000 Received: (qmail 7417 invoked by uid 22791); 1 Sep 2011 10:08:10 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Sep 2011 10:07:57 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qz4Ba-0006WJ-MV; Thu, 01 Sep 2011 06:07:50 -0400 Date: Thu, 01 Sep 2011 10:12:00 -0000 Message-Id: From: Eli Zaretskii To: Kevin Pouget CC: tromey@redhat.com, gdb-patches@sourceware.org In-reply-to: (message from Kevin Pouget on Thu, 1 Sep 2011 10:44:39 +0200) Subject: Re: [PATCH] PR/12691 Add the inferior to Python exited event Reply-to: Eli Zaretskii References: <83vctdej0n.fsf@gnu.org> <83ty8xebob.fsf@gnu.org> <83obz5ea7z.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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-09/txt/msg00008.txt.bz2 > From: Kevin Pouget > Date: Thu, 1 Sep 2011 10:44:39 +0200 > Cc: Tom Tromey , gdb-patches@sourceware.org > > On Wed, Aug 31, 2011 at 7:56 PM, Eli Zaretskii wrote: > >> From: Tom Tromey > >> Cc: Kevin Pouget , gdb-patches@sourceware.org > >> Date: Wed, 31 Aug 2011 11:53:21 -0600 > >> > >> >>>>> "Eli" == Eli Zaretskii writes: > >> > >> Eli> I'd still like to hear from someone "in the know" how is it possible > >> Eli> that the exit code won't be available, but let's not block the commit > >> Eli> on that behalf. > >> > >> It can happen at least on detach. > > > > Right, thanks.  Perhaps we should mention that in parentheses. > > > > do you want it to appear in my patch, something like > > > Optional, will exist only in the case that the inferior exited with some status---i.e., not detached) > > along with > > >> +An integer representing the exit code which the inferior has returned. > > I think we would be better off without that "has" word. > > ? No, I meant something like An integer representing the exit code, if available, which the inferior has returned. (The exit code could be unavailable if, for example, @value{GDBN} detaches from the inferior.)