From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14569 invoked by alias); 8 Aug 2006 07:27:05 -0000 Received: (qmail 14561 invoked by uid 22791); 8 Aug 2006 07:27:03 -0000 X-Spam-Check-By: sourceware.org Received: from qb-out-0506.google.com (HELO qb-out-0506.google.com) (72.14.204.228) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Aug 2006 07:27:00 +0000 Received: by qb-out-0506.google.com with SMTP id a39so409450qbd for ; Tue, 08 Aug 2006 00:26:59 -0700 (PDT) Received: by 10.48.242.19 with SMTP id p19mr219851nfh; Tue, 08 Aug 2006 00:26:58 -0700 (PDT) Received: from localhost ( [80.171.131.106]) by mx.gmail.com with ESMTP id x24sm449246nfb.2006.08.08.00.26.57; Tue, 08 Aug 2006 00:26:57 -0700 (PDT) To: Richard Cc: Richard , gdb@sources.redhat.com Subject: Re: fork debugging : back to parent. In-Reply-To: <20060808000358.GA744@nevyn.them.org> (Daniel Jacobowitz's message of "Mon, 7 Aug 2006 20:03:58 -0400") References: <5693501.post@talk.nabble.com> <20060807210740.GA28579@nevyn.them.org> <87slk8xlpk.fsf@mail.com> <20060808000358.GA744@nevyn.them.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Date: Tue, 08 Aug 2006 07:27:00 -0000 Message-ID: <8764h38z7m.fsf@mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Richard Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00045.txt.bz2 Daniel Jacobowitz writes: > On Mon, Aug 07, 2006 at 11:47:03PM +0200, Richard wrote: >> set follow-fork-mode to both is not supported: > > Sorry, try turning off detach-on-fork. See "help set". > >> Sorry, if I'm missing something obvious. How owuld I browse "recent >> features" in CVS? > > Take a look at the NEWS file. > > -- > Daniel Jacobowitz > CodeSourcery > I tried setting detach-on-fork to off and follow-fork to "child" and it all just froze. Possibly I'm misunderstanding its use? Could you advise on its intended use and how it integrates with follow-fork-mode or catch fork? I set follow to "child", detach to "off" and then "info fork" reported no forks after the fork() call while in the childs code. "both" is now removed for "follow-fork"?