From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10816 invoked by alias); 19 Sep 2006 20:55:58 -0000 Received: (qmail 10808 invoked by uid 22791); 19 Sep 2006 20:55:57 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Sep 2006 20:55:54 +0000 Received: from kahikatea.snap.net.nz (p202-124-120-145.snap.net.nz [202.124.120.145]) by viper.snap.net.nz (Postfix) with ESMTP id 27A327B8D0A; Wed, 20 Sep 2006 08:55:51 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 31527BE3E9; Wed, 20 Sep 2006 08:53:20 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17680.22719.512121.415472@kahikatea.snap.net.nz> Date: Tue, 19 Sep 2006 20:55:00 -0000 To: Denis PILAT Cc: Daniel Jacobowitz , gdb@sourceware.org Subject: Re: info thread In-Reply-To: <450FED7C.1050902@st.com> References: <17679.5055.729126.253019@kahikatea.snap.net.nz> <450FED7C.1050902@st.com> X-Mailer: VM 7.19 under Emacs 22.0.50.14 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/msg00114.txt.bz2 > Where can I find the specifications for the MI commands > -thread-list-all-threads and -thread-info ? There is no specification so we can only guess what was intended. Perhaps -thread-info was just meant to give info for the selected thread which presumably would not take long to compute even with all the details. In any case, as Daniel says, the problem is to devise one(s) which is/are generally useful. I would guess the reason that they haven't already been implemented is that the other information is kernel/OS dependent e.g on GNU/Linux I get: (gdb) inf threads 5 Thread -1240261728 (LWP 2575) 0x00c12b68 in clone () from /lib/libc.so.6 4 Thread -1229771872 (LWP 2574) 0x08048863 in myproc (ptr_i=0xbff15ca4) at pthreadtest.c:75 3 Thread -1219282016 (LWP 2573) 0x00c12b68 in clone () from /lib/libc.so.6 2 Thread -1208792160 (LWP 2572) 0x08048833 in myproc (ptr_i=0xbff15c9c) at pthreadtest.c:78 * 1 Thread -1208789312 (LWP 2554) main () at pthreadtest.c:99 but presumably not all systems have the concept of a lightweight process, and maybe the numbering of the threads is different. -- Nick http://www.inet.net.nz/~nickrob