From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30252 invoked by alias); 24 Nov 2008 20:11:22 -0000 Received: (qmail 30196 invoked by uid 22791); 24 Nov 2008 20:11:21 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout3.012.net.il (HELO mtaout3.012.net.il) (84.95.2.7) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Nov 2008 20:10:36 +0000 Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KAU00K00TESSG00@i_mtaout3.012.net.il> for gdb-patches@sourceware.org; Mon, 24 Nov 2008 22:12:27 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.168.41]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KAU009VJTGJIQN0@i_mtaout3.012.net.il>; Mon, 24 Nov 2008 22:12:26 +0200 (IST) Date: Mon, 24 Nov 2008 23:22:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] Add optional argument to "info threads" command In-reply-to: <4928BC24.5020600@vmware.com> X-012-Sender: halo1@inter.net.il To: Michael Snyder Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <4928BC24.5020600@vmware.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00664.txt.bz2 > Date: Sat, 22 Nov 2008 18:12:52 -0800 > From: Michael Snyder > > --- doc/gdb.texinfo 22 Nov 2008 12:14:33 -0000 1.536 > +++ doc/gdb.texinfo 23 Nov 2008 02:11:23 -0000 > @@ -2491,9 +2491,11 @@ number---always a single integer---with > > @table @code > @kindex info threads > -@item info threads > -Display a summary of all threads currently in your > -program. @value{GDBN} displays for each thread (in this order): > +@item info threads @r{[}@var{threads}@r{]} @r{[}@var{range}@dots{}@r{]} > +Display a summary of all threads currently in your program. > +Optional argument means display information only > +about the specified threads or range of threads. > +@value{GDBN} displays for each thread (in this order): This is okay, but I think we should say a word or two about the supported syntax of "range".