From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27457 invoked by alias); 5 Jun 2008 21:23:24 -0000 Received: (qmail 27448 invoked by uid 22791); 5 Jun 2008 21:23:24 -0000 X-Spam-Check-By: sourceware.org Received: from mail.windriver.com (HELO mail.wrs.com) (147.11.1.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jun 2008 21:23:02 +0000 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id m55LN107015963 for ; Thu, 5 Jun 2008 14:23:01 -0700 (PDT) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Jun 2008 14:23:00 -0700 Received: from [147.11.233.79] ([147.11.233.79]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Jun 2008 14:23:01 -0700 Message-ID: <48485934.6010304@windriver.com> Date: Thu, 05 Jun 2008 21:23:00 -0000 From: Pawel Piech User-Agent: Thunderbird 1.5.0.14ubu (X11/20080306) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Re: non-stop and current thread exiting References: <200806032253.39575.pedro@codesourcery.com> <4846F753.7060204@windriver.com> <200806050950.19833.vladimir@codesourcery.com> In-Reply-To: <200806050950.19833.vladimir@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00035.txt.bz2 Vladimir Prus wrote: > On Thursday 05 June 2008 00:13:07 you wrote: > >> As far as I remember -thread-info displays information >> about a single thread, though I don't think it's implemented. >> -thread-list-all-threads which is supposed to be equivalent to info >> threads, could show exited threads and let the UI filter them out. >> However -thread-list-ids, which is actually implemented, only lists IDs, >> so there's no way for the UI to tell which ones are live. >> > > -thread-info is implemented in CVS HEAD, and can either report all threads > (when used without a parameter), or a specific thread. There's also a patch > to make it report, for each thread, if it's running or not. > -thread-list-all-threads will not be implemented, in light of current > -thread-info behaviour. > That's great news. Thanks! > -thread-list-ids is a historical artefact, using it is strictly inferiour > to -thread-info, and the frontend should first probe -thread-info and use > -thread-list-ids as a fallback only. > For backward, it would be great if this command would still work as before, i.e. it didn't include threads that exited. Cheers, Pawel > - Volodya >