From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4022 invoked by alias); 19 Sep 2006 13:16:14 -0000 Received: (qmail 4010 invoked by uid 22791); 19 Sep 2006 13:16:13 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-01.spheriq.net (HELO fra-del-01.spheriq.net) (195.46.51.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Sep 2006 13:16:02 +0000 Received: from fra-out-02.spheriq.net (fra-out-02.spheriq.net [195.46.51.130]) by fra-del-01.spheriq.net with ESMTP id k8JDFlmF001632 for ; Tue, 19 Sep 2006 13:15:47 GMT Received: from fra-cus-01.spheriq.net (fra-cus-01.spheriq.net [195.46.51.37]) by fra-out-02.spheriq.net with ESMTP id k8JDFisk022400 for ; Tue, 19 Sep 2006 13:15:47 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-01.spheriq.net with ESMTP id k8JDFhC5011306 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 19 Sep 2006 13:15:44 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 48AE1DA42; Tue, 19 Sep 2006 13:15:42 +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 D74E64742B; Tue, 19 Sep 2006 13:15:41 +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 CIM00585 (AUTH "denis pilat"); Tue, 19 Sep 2006 15:15:40 +0200 (CEST) Message-ID: <450FED7C.1050902@st.com> Date: Tue, 19 Sep 2006 13:16: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: Nick Roberts , Daniel Jacobowitz Cc: gdb@sourceware.org Subject: Re: info thread References: <17679.5055.729126.253019@kahikatea.snap.net.nz> 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/msg00101.txt.bz2 Nick Roberts wrote: >>Sol 1 - developping a new MI command that gives the above target extra >>information only (ie -thread-list-extra-info) or implementing a >>non-implemented one with a parameter. I see in the doc that >>-thread-list-all-threads is not specified for instance. >> >> >>Then we need to modify Eclipse so that it uses MI command "-thread-list-ids" >>plus this command to get all info. This can be an Eclipse contribution >>as well, I need to ask to Eclipse maintainer as well. >> >> > >There is only a slot for -thread-list-all-threads and no implementation so I >see no harm in using a new name, especially if your command doesn't list _all_ >the info. I'm not very familiar with debugging threaded applications but I >think the command should be general and not just suited to your requirements. >Also if there is a common usage pattern then I think it would be good if that >information can be obtained with one MI command rather than two/many. That is >the essence of many of the changes that I have made to MI. > > Daniel wrote: > I think we've got two visible options: make -thread-list-all-threads > do exactly what you want, without stack information, or make > -thread-info return the target extra info for the thread. Either > makes sense to me. Might as well make -thread-list-all-threads > do it. Daniel, Nick, Thanks for your answers. Let's continue this thread on the gdb mailing list as Nick suggested. I still don't have answer from the Eclipse community but reading my email, it's not a surprise ... I think it was not so easy to read, I was probably drunk when I wrote it. Where can I find the specifications for the MI commands -thread-list-all-threads and -thread-info ? Denis