From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6726 invoked by alias); 29 Jan 2008 16:49:31 -0000 Received: (qmail 6698 invoked by uid 22791); 29 Jan 2008 16:49:31 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jan 2008 16:49:01 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id AEA3698234; Tue, 29 Jan 2008 16:48:59 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 7AB869811F; Tue, 29 Jan 2008 16:48:59 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JJtdq-0000X7-98; Tue, 29 Jan 2008 11:48:58 -0500 Date: Tue, 29 Jan 2008 16:50:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Doc: detach-on-follow Message-ID: <20080129164858.GA1637@caradoc.them.org> Mail-Followup-To: Nick Roberts , gdb-patches@sources.redhat.com References: <18251.27455.529796.608240@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18251.27455.529796.608240@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) 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-01/txt/msg00688.txt.bz2 On Tue, Nov 27, 2007 at 01:56:31PM +1300, Nick Roberts wrote: > > There is no detach-on-follow but I'm not sure what obvious means anymore. > Also mention process command. > > -- > Nick http://www.inet.net.nz/~nickrob > > > 2007-11-27 Nick Roberts > > * gdb.texinfo (Processes): Mention process command. > detach-on-follow -> detach-on-fork. This patch looks right to me; Eli, is it OK? > *** gdb.texinfo.~1.446.~ 2007-11-18 13:23:21.000000000 +1300 > --- gdb.texinfo 2007-11-27 13:50:48.000000000 +1300 > *************** is held suspended. > *** 2535,2546 **** > > @end table > > ! @kindex show detach-on-follow > ! @item show detach-on-follow > ! Show whether detach-on-follow mode is on/off. > @end table > > ! If you choose to set @var{detach-on-follow} mode off, then > @value{GDBN} will retain control of all forked processes (including > nested forks). You can list the forked processes under the control of > @value{GDBN} by using the @w{@code{info forks}} command, and switch > --- 2535,2546 ---- > > @end table > > ! @kindex show detach-on-fork > ! @item show detach-on-fork > ! Show whether detach-on-fork mode is on/off. > @end table > > ! If you choose to set @samp{detach-on-fork} mode off, then > @value{GDBN} will retain control of all forked processes (including > nested forks). You can list the forked processes under the control of > @value{GDBN} by using the @w{@code{info forks}} command, and switch > *************** Print a list of all forked processes und > *** 2553,2565 **** > The listing will include a fork id, a process id, and the current > position (program counter) of the process. > > - > @kindex fork @var{fork-id} > @item fork @var{fork-id} > Make fork number @var{fork-id} the current process. The argument > @var{fork-id} is the internal fork number assigned by @value{GDBN}, > as shown in the first field of the @samp{info forks} display. > > @end table > > To quit debugging one of the forked processes, you can either detach > --- 2553,2570 ---- > The listing will include a fork id, a process id, and the current > position (program counter) of the process. > > @kindex fork @var{fork-id} > @item fork @var{fork-id} > Make fork number @var{fork-id} the current process. The argument > @var{fork-id} is the internal fork number assigned by @value{GDBN}, > as shown in the first field of the @samp{info forks} display. > > + @kindex process @var{process-id} > + @item process @var{process-id} > + Make process number @var{process-id} the current process. The > + argument @var{process-id} must be one that is listed in the output of > + @samp{info forks}. > + > @end table > > To quit debugging one of the forked processes, you can either detach > -- Daniel Jacobowitz CodeSourcery