From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15156 invoked by alias); 8 Mar 2008 20:04:15 -0000 Received: (qmail 15144 invoked by uid 22791); 8 Mar 2008 20:04:14 -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; Sat, 08 Mar 2008 20:03:48 +0000 Received: from kahikatea.snap.net.nz (76.63.255.123.dynamic.snap.net.nz [123.255.63.76]) by viper.snap.net.nz (Postfix) with ESMTP id 08A1C3D9C5D; Sun, 9 Mar 2008 09:03:45 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 205948FC6D; Sun, 9 Mar 2008 09:03:38 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18386.61722.520179.46104@kahikatea.snap.net.nz> Date: Sat, 08 Mar 2008 20:04:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Implement -thread-info. In-Reply-To: References: <200802171833.26673.vladimir@codesourcery.com> <200802181038.04497.vladimir@codesourcery.com> <18361.64577.771676.184618@kahikatea.snap.net.nz> <200802201427.36288.vladimir@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.1.91.2 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-03/txt/msg00068.txt.bz2 > -static void > -info_threads_command (char *arg, int from_tty) > +/* Prints the list of threads and their details on UIOUT. > + This is a version of 'info_thread_command' suitable for > + use from MI. Isn't this comment out of date now that info_threads_command calls mi_info_threads? > + If REQESTED_THREAD is not -1, it's the GDB id of the thread > + that should be printed. Otherwise, all threads are > + printed. */ > +void > +mi_info_threads (struct ui_out *uiout, int requested_thread) > { As mi_info_threads is now not mi specific, should it be called something like info_threads_1? -- Nick http://www.inet.net.nz/~nickrob