This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PR/12691 Add the inferior to Python exited event
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Kevin Pouget <kevin dot pouget at gmail dot com>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 01 Sep 2011 06:07:50 -0400
- Subject: Re: [PATCH] PR/12691 Add the inferior to Python exited event
- References: <BANLkTikm-GqD0fubzfaoRUZCEz=JDy9GWg@mail.gmail.com> <m3oc3uurbw.fsf@fleche.redhat.com> <BANLkTinM3j98XgLoXeAk8TLxKSgh2QzYHw@mail.gmail.com> <CAPftXUK6gm2dJvcHe8fu5gfxoObLenpXLdY2UmrHoDcn4uUHfA@mail.gmail.com> <83vctdej0n.fsf@gnu.org> <CAPftXUKNgH+ETVf6YNjsxhL3j6zus2zO2AqoC9VvoVoNJpTZzA@mail.gmail.com> <83ty8xebob.fsf@gnu.org> <m362ld79im.fsf@fleche.redhat.com> <83obz5ea7z.fsf@gnu.org> <CAPftXUL-Q=aGpqG1e27A3HG7dkQ0oPUOMaSJ1_BaDwAoKg93Og@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Kevin Pouget <kevin.pouget@gmail.com>
> Date: Thu, 1 Sep 2011 10:44:39 +0200
> Cc: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
>
> On Wed, Aug 31, 2011 at 7:56 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> >> From: Tom Tromey <tromey@redhat.com>
> >> Cc: Kevin Pouget <kevin.pouget@gmail.com>, gdb-patches@sourceware.org
> >> Date: Wed, 31 Aug 2011 11:53:21 -0600
> >>
> >> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> 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.)