Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Alain Magloire <alain@qnx.com>
Cc: Denis PILAT <denis.pilat@st.com>,
	nickrob@snap.net.nz, 	gdb@sourceware.org
Subject: Re: info thread
Date: Mon, 25 Sep 2006 15:31:00 -0000	[thread overview]
Message-ID: <20060925153115.GA8981@nevyn.them.org> (raw)
In-Reply-To: <3518719F06577C4F85DA618E3C37AB9106B12AA1@nimbus.ott.qnx.com>

On Mon, Sep 25, 2006 at 11:24:44AM -0400, Alain Magloire wrote:
>   I have a gnat/pr on this way back, the reasons that CDT/Debug/MI was using
> "info threads" instead of -thread-list-ids were:
> - -thread-list-all-threads was crashing (probably fixed by now)
> - -thread-list-all-threads was not showing the newly created thread, i.e.
> the MI command was not doing the same job as "info threads"
> 
> Note also some folks support thread names and add other information in the
> "info threads" output.  To accommodate, it would be nice to change the
> output of this command to list of name=values pairs, something like:
> [{name="id",value="1"}{name="name",value="Driver thread"}...] 

Um... really?

(gdb) interpreter-exec mi -thread-list-all-threads
^error,msg="Undefined mi command: thread-list-all-threads (missing implementation)"

I think you're thinking of -thread-list-ids.  Ah, this is mi/674.
It's also mi/1040.  Both of which suggest *stopped :-)

We could add the thread to -thread-list-ids, too.

Something to keep in mind: the thread "extra info" is expensive to
collect on some platforms, e.g. requires asking the remote stub for
details on each individual thread.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-09-25 15:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25 15:25 Alain Magloire
2006-09-25 15:31 ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-09-28 14:35 Alain Magloire
2006-09-25 17:27 Alain Magloire
2006-09-25 17:36 ` Daniel Jacobowitz
2006-09-27 14:18 ` Denis PILAT
2006-09-25 16:25 Alain Magloire
2006-09-18 21:49 Nick Roberts
2006-09-19 13:16 ` Denis PILAT
2006-09-19 14:23   ` Daniel Jacobowitz
2006-09-19 20:55   ` Nick Roberts
2006-09-19 21:03     ` Daniel Jacobowitz
2006-09-23 19:06       ` Mark Kettenis
2006-09-23 21:59         ` Daniel Jacobowitz
2006-09-25 14:49           ` Denis PILAT
2006-09-25 14:52             ` Daniel Jacobowitz
2006-09-25 18:39           ` Michael Snyder

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=20060925153115.GA8981@nevyn.them.org \
    --to=drow@false.org \
    --cc=alain@qnx.com \
    --cc=denis.pilat@st.com \
    --cc=gdb@sourceware.org \
    --cc=nickrob@snap.net.nz \
    /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