Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Denis PILAT <denis.pilat@st.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>,
	nickrob@snap.net.nz,         gdb@sourceware.org
Subject: Re: info thread
Date: Mon, 25 Sep 2006 14:49:00 -0000	[thread overview]
Message-ID: <4517EC63.7050509@st.com> (raw)
In-Reply-To: <20060923215947.GA29366@nevyn.them.org>



Daniel Jacobowitz wrote:

>On Sat, Sep 23, 2006 at 09:05:56PM +0200, Mark Kettenis wrote:
>  
>
>>Note that the formatting of the thread ID produced by to_pid_to_str is
>>highly dependent on the specific threads model in use.  The thread
>>extra info is also mostly free-form.  That means it might not be wise
>>to export that information in the MI interface.
>>    
>>
>
>Except as strings, presumably?
>
>It's supposed to be useful to users; the extra information is supposed
>to be exactly what would be useful in a dialog box listing threads.
>
Some GDB target displays thread priority and some usefull information in 
that string.
In ST we display the thread's name for some targets for instance.
I think we must keep it either in MI command -thread-list-all-threads or 
in a new MI command.



About current thread, it is displayed by an asterisk with "info thread" 
command, and gathered by Eclipse today from that output,
, whereas it could be from the  MI stop reply message.

Do we need to have the current thread ID in one of the -thread-blabla 
command ?
That would avoid storing it somewhere in the GUI.

Denis



  reply	other threads:[~2006-09-25 14:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2006-09-25 14:52             ` Daniel Jacobowitz
2006-09-25 18:39           ` Michael Snyder
2006-09-25 15:25 Alain Magloire
2006-09-25 15:31 ` Daniel Jacobowitz
2006-09-25 16:25 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-28 14:35 Alain Magloire

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=4517EC63.7050509@st.com \
    --to=denis.pilat@st.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --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