From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8662 invoked by alias); 25 Sep 2006 14:49:24 -0000 Received: (qmail 8652 invoked by uid 22791); 25 Sep 2006 14:49:23 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Sep 2006 14:49:18 +0000 Received: from lon-out-03.spheriq.net ([195.46.50.131]) by lon-del-02.spheriq.net with ESMTP id k8PEnEKi006763 for ; Mon, 25 Sep 2006 14:49:14 GMT Received: from lon-cus-02.spheriq.net (lon-cus-02.spheriq.net [195.46.50.38]) by lon-out-03.spheriq.net with ESMTP id k8PEnCBi015756 for ; Mon, 25 Sep 2006 14:49:13 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-02.spheriq.net with ESMTP id k8PEnBsr016262 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 25 Sep 2006 14:49:12 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F24A4DA41; Mon, 25 Sep 2006 14:49:09 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 99A1047538; Mon, 25 Sep 2006 14:49:09 +0000 (GMT) Received: from st.com (crx1177.cro.st.com [164.129.47.77]) by mail1.cro.st.com (MOS 3.5.8-GR) with ESMTP id CIN35382 (AUTH "denis pilat"); Mon, 25 Sep 2006 16:49:08 +0200 (CEST) Message-ID: <4517EC63.7050509@st.com> Date: Mon, 25 Sep 2006 14:49:00 -0000 From: Denis PILAT User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Mark Kettenis , nickrob@snap.net.nz, gdb@sourceware.org Subject: Re: info thread References: <17679.5055.729126.253019@kahikatea.snap.net.nz> <450FED7C.1050902@st.com> <17680.22719.512121.415472@kahikatea.snap.net.nz> <20060919210316.GA17479@nevyn.them.org> <200609231905.k8NJ5ucX001839@elgar.sibelius.xs4all.nl> <20060923215947.GA29366@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00140.txt.bz2 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