From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Vladimir Prus" <vladimir@codesourcery.com>
Cc: <gdb@sources.redhat.com>
Subject: RE: Multiprocess MI extensions
Date: Tue, 17 Jun 2008 20:19:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA042911E6@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <200806172350.02564.vladimir@codesourcery.com>
As for the output of -list-thread-groups
> ^done,result={threads=[<thread>],groups=[<group>]}
> where each thread group is like this:
> {id="xxx",type="process",pid="yyy",num_children="1"}
I'm not clear on the "threads" part of the output.
Will that part only be filled if we issue
-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
>
>
> On Tuesday 17 June 2008 23:33:49 Marc Khouzam wrote:
> > Sorry, I was too quick on this one.
> >
> > > > >> 4. The -list-thread-groups will accept the '--available'
> > > > option that tells
> > > > >> it to list all thread groups, including those that are not
> > > > attached to yet.
> > >
> > > I assume this will list all top-level thread groups, but not their
> > > chidren, right?
> >
> > Actually, is the behavior going to be like this:
> >
> > /*
> > * -list-thread-groups [--available] [GROUP]
> > *
> > * With no arguments, produces a list of the top-level
> thread groups to which GDB
> > * is attached.
> > * If a group id is specified, produces a list of groups to
> which GDB is attached
> > * and that are children of the specified group.
> > * With --available, same as above, but produces a list of
> all thread groups
> > * instead of only the ones GDB is attached to.
> > */
>
> Right, that's what I meant.
>
> - Volodya
>
next prev parent reply other threads:[~2008-06-17 20:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 19:24 Vladimir Prus
2008-06-10 19:42 ` Pawel Piech
2008-06-10 19:53 ` Vladimir Prus
2008-06-11 16:40 ` Pawel Piech
2008-06-11 16:43 ` Vladimir Prus
2008-06-13 17:34 ` Marc Khouzam
2008-06-14 15:15 ` Vladimir Prus
2008-06-17 18:32 ` Marc Khouzam
2008-06-18 8:39 ` Vladimir Prus
2008-06-18 13:49 ` Marc Khouzam
2008-06-17 19:28 ` Marc Khouzam
2008-06-17 19:33 ` Marc Khouzam
2008-06-17 19:50 ` Vladimir Prus
2008-06-17 20:19 ` Marc Khouzam [this message]
2008-06-18 7:41 ` Vladimir Prus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6D19CA8D71C89C43A057926FE0D4ADAA042911E6@ecamlmw720.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=gdb@sources.redhat.com \
--cc=vladimir@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox