From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20115 invoked by alias); 22 Jun 2012 09:49:26 -0000 Received: (qmail 20105 invoked by uid 22791); 22 Jun 2012 09:49:25 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jun 2012 09:49:11 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Si0UI-0007gE-BQ from Vladimir_Prus@mentor.com ; Fri, 22 Jun 2012 02:49:10 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 22 Jun 2012 02:49:09 -0700 Received: from [172.30.88.204] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Fri, 22 Jun 2012 10:49:09 +0100 Message-ID: <4FE43F94.8040600@codesourcery.com> Date: Fri, 22 Jun 2012 09:49:00 -0000 From: Vladimir Prus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Pedro Alves CC: Subject: Re: gdbserver and following children References: <4FE42EA8.7000101@codesourcery.com> <4FE43CF9.1010801@redhat.com> In-Reply-To: <4FE43CF9.1010801@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00080.txt.bz2 On 22.06.2012 13:38, Pedro Alves wrote: > Hi Vladimir, > > On 06/22/2012 09:36 AM, Vladimir Prus wrote: > >> I cannot quite figure from the documentation whether it is possible, in multi-process mode with gdbserver, to >> automatically attach to all children? > > > It's not possible. > >> >> I see that http://sourceware.org/gdb/wiki/MultiProcess mentions this functionality is living on a branch and not >> yet ready, but than the page also talks about 7.2. Of course, I can try with CVS HEAD, but it would be hard to >> separate missing functionality in GDB from missing functionality in my head. > > > Here you'll find a more in depth comparison of gdbserver vs native gdb supported features: > > http://sourceware.org/gdb/wiki/LocalRemoteFeatureParity Hi Pedro, thanks for the link -- it's much more helpful. How hard would it be to implement that 'follow-fork' on gdbserver? Days, weeks, months? - Volodya -- Vladimir Prus CodeSourcery / Mentor Graphics http://www.mentor.com/embedded-software/