From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6041 invoked by alias); 14 Nov 2008 18:51:17 -0000 Received: (qmail 6025 invoked by uid 22791); 14 Nov 2008 18:51:17 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Nov 2008 18:50:33 +0000 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KAC00L006WZXX00@i-mtaout6.012.net.il> for gdb-patches@sources.redhat.com; Fri, 14 Nov 2008 20:52:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.205.49]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KAC00DXO72W9310@i-mtaout6.012.net.il>; Fri, 14 Nov 2008 20:52:21 +0200 (IST) Date: Fri, 14 Nov 2008 23:25:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] Notification for attach/detach. In-reply-to: <200811142017.33517.vladimir@codesourcery.com> X-012-Sender: halo1@inter.net.il To: Vladimir Prus Cc: brobecker@adacore.com, gdb-patches@sources.redhat.com Reply-to: Eli Zaretskii Message-id: References: <200811122335.01950.vladimir@codesourcery.com> <20081113232313.GQ5112@adacore.com> <200811142017.33517.vladimir@codesourcery.com> 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: 2008-11/txt/msg00368.txt.bz2 > From: Vladimir Prus > Date: Fri, 14 Nov 2008 20:17:33 +0300 > Cc: gdb-patches@sources.redhat.com > > > > +@deftypefun void inferior_exit (int @var{pid}) > > > +The inferior identified by @var{pid} has either exited, or was detached > > > +from. > > > +@end deftypefun > > > + > > > > This part should be reviewed by Eli. The documentation for the first > > observer looks fine to me, but I find the second one a little awkward. > > Perhaps Eli will have another one of his good suggestions. In the > > meantime, perhaps the following would do: > > > > The inferior identified by @var{pid} has exited, or @value{GDBN} > > detached from it. > > Eli, > can you comment? Another possible variant would be Either @value{GDBN} detached from the inferior, or the inferior exited. The argument @var{pid} identifies the inferior.