Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: Re: [MI] Extending -list-thread-groups --available to show cores
Date: Mon, 16 Nov 2009 17:55:00 -0000	[thread overview]
Message-ID: <200911161316.46419.vladimir@codesourcery.com> (raw)
In-Reply-To: <200911161128.38397.vladimir@codesourcery.com>

On Monday 16 November 2009 11:28:38 Vladimir Prus wrote:

> 1. Different output from the above commands. It's backward compatible, and 
> not
> hard to support. Also, if you're asking for details on 20 processes, and a couple
> of them have disappeared, you have a place to report that processes are no longer.
> 
> 2. Multiple thread= if details for multiple processes are requested. As I say above,
> this is somewhat unclean.
> 
> 3. Always output groups=[], even for 1-process case. 
> 
> In fact, option (3) does not seem too bad. Does any frontend available in the
> wild make use of thread groups? And 'support 7.0 and later' issue is easily solved
> by accepting both groups=[] and threads= in output of 1-process -list-thread-groups.
> In fact, we can even put text in the manual to suggest this.

While updating the spec, I have realized that (1) is actually not a problem. We already
have different outputs for different -list-thread-groups. If you pass nothing, you
get groups=[] output. If you pass a single group, you get threads= output. Then,
it seems not so bad to make '-list-thread-groups g1 g2' output be the same as
'-list-thread-groups' -- the latter uses groups=[] on top-level exactly because it has
to report several groups.

- Volodya


  reply	other threads:[~2009-11-16 10:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  1:36 Vladimir Prus
2009-11-09 16:17 ` Marc Khouzam
2009-11-09 16:25   ` Vladimir Prus
2009-11-09 16:42     ` Marc Khouzam
2009-11-09 17:20       ` Vladimir Prus
2009-11-09 17:33         ` Marc Khouzam
2009-11-09 20:02           ` Marc Khouzam
2009-11-16 14:52           ` Vladimir Prus
2009-11-16 17:55             ` Vladimir Prus [this message]
2009-11-17  7:45 ` Vladimir Prus
2009-11-17 13:49   ` Marc Khouzam
2009-11-19  6:44     ` Vladimir Prus
2009-11-19  7:11       ` Marc Khouzam

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=200911161316.46419.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=gdb@sources.redhat.com \
    --cc=marc.khouzam@ericsson.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