From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30878 invoked by alias); 17 Jun 2008 20:19:15 -0000 Received: (qmail 30778 invoked by uid 22791); 17 Jun 2008 20:19:15 -0000 X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 17 Jun 2008 20:18:54 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id m5HKIo0b019530; Tue, 17 Jun 2008 15:18:51 -0500 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Jun 2008 15:19:07 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Multiprocess MI extensions Date: Tue, 17 Jun 2008 20:19:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA042911E6@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <200806172350.02564.vladimir@codesourcery.com> From: "Marc Khouzam" To: "Vladimir Prus" Cc: X-IsSubscribed: yes 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: 2008-06/txt/msg00171.txt.bz2 As for the output of -list-thread-groups=20 > ^done,result=3D{threads=3D[],groups=3D[]} > where each thread group is like this: > {id=3D"xxx",type=3D"process",pid=3D"yyy",num_children=3D"1"} I'm not clear on the "threads" part of the output. Will that part only be filled if we issue=20 -list-thread-groups GROUP where GROUP is a process and therefore only has threads as children? If that is the case, then "threads" and "groups" cannot both have content at the same time, right? Further, I guess this would mean we can use -list-thread-groups all the time, and no longer use -thread-list-ids? Is this what you meant? Thanks marc > -----Original Message----- > From: Vladimir Prus [mailto:vladimir@codesourcery.com] > Sent: Tuesday, June 17, 2008 3:50 PM > To: Marc Khouzam > Cc: gdb@sources.redhat.com > Subject: Re: Multiprocess MI extensions >=20 >=20 > On Tuesday 17 June 2008 23:33:49 Marc Khouzam wrote: > > Sorry, I was too quick on this one. > >=20 > > > > >> 4. The -list-thread-groups will accept the '--available'=20 > > > > option that tells > > > > >> it to list all thread groups, including those that are not=20 > > > > attached to yet. > > >=20 > > > I assume this will list all top-level thread groups, but not their > > > chidren, right? > >=20 > > Actually, is the behavior going to be like this: > >=20 > > /* > > * -list-thread-groups [--available] [GROUP] > > * > > * With no arguments, produces a list of the top-level=20 > thread groups to which GDB=20 > > * is attached. > > * If a group id is specified, produces a list of groups to=20 > which GDB is attached > > * and that are children of the specified group. > > * With --available, same as above, but produces a list of=20 > all thread groups=20 > > * instead of only the ones GDB is attached to. > > */ >=20 > Right, that's what I meant. >=20 > - Volodya >=20