From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5678 invoked by alias); 9 Nov 2005 18:08:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 5626 invoked by uid 22791); 9 Nov 2005 18:08:05 -0000 Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 09 Nov 2005 18:08:05 +0000 Received: from lon-out-03.spheriq.net ([195.46.50.131]) by lon-del-02.spheriq.net with ESMTP id jA9I825N010572 for ; Wed, 9 Nov 2005 18:08:02 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-03.spheriq.net with ESMTP id jA9I8163003089 for ; Wed, 9 Nov 2005 18:08:01 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id jA9I80t8023958 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Wed, 9 Nov 2005 18:08:01 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 6CD5BDA4A for ; Wed, 9 Nov 2005 18:07:56 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 60012) id 1972347335; Wed, 9 Nov 2005 18:10:52 +0000 (GMT) Received: from zeta.dmz-eu.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D22E475995 for ; Wed, 9 Nov 2005 18:10:51 +0000 (UTC) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D8E5E47323 for ; Wed, 9 Nov 2005 18:10:50 +0000 (GMT) Received: from [164.129.15.13] (terrorhawk.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CGQ01146 (AUTH "andrew stubbs"); Wed, 9 Nov 2005 18:07:52 GMT Message-ID: <43723A70.9050309@st.com> Date: Wed, 09 Nov 2005 20:31:00 -0000 From: Andrew STUBBS User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [PATCH] thread apply help Content-Type: multipart/mixed; boundary="------------020804070304010008040007" X-O-Spoofed: Not Scanned X-O-General-Status: No X-O-Spam1-Status: Not Scanned X-O-Spam2-Status: Not Scanned X-O-URL-Status: Not Scanned X-O-Virus1-Status: No X-O-Virus2-Status: Not Scanned X-O-Virus3-Status: No X-O-Virus4-Status: No X-O-Virus5-Status: Not Scanned X-O-Image-Status: Not Scanned X-O-Attach-Status: Not Scanned X-SpheriQ-Ver: 4.1.07 X-SW-Source: 2005-11/txt/msg00113.txt.bz2 This is a multi-part message in MIME format. --------------020804070304010008040007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 860 Hi, This patch might qualify as obvious, but I'm not sure what the rules are on who's allowed to do that, so here it is. Currently GDB reports the following: (gdb) help thread apply Apply a command to a list of threads. List of apply subcommands: apply all -- Apply a command to all threads Type "help apply" followed by apply subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. The word 'thread' is missing in four places. It should read as follows: (gdb) help thread apply Apply a command to a list of threads. List of thread apply subcommands: thread apply all -- Apply a command to all threads Type "help thread apply" followed by thread apply subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. OK? Andrew Stubbs --------------020804070304010008040007 Content-Type: text/plain; name="thread_apply.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="thread_apply.patch" Content-length: 755 2005-11-09 Andrew Stubbs * thread.c (_initialize_thread): Correct the 'thread apply' help message. Index: src/gdb/thread.c =================================================================== --- src.orig/gdb/thread.c 2005-02-15 15:49:22.000000000 +0000 +++ src/gdb/thread.c 2005-11-02 16:01:51.000000000 +0000 @@ -691,7 +691,7 @@ The new thread ID must be currently know add_prefix_cmd ("apply", class_run, thread_apply_command, _("Apply a command to a list of threads."), - &thread_apply_list, "apply ", 1, &thread_cmd_list); + &thread_apply_list, "thread apply ", 1, &thread_cmd_list); add_cmd ("all", class_run, thread_apply_all_command, _("Apply a command to all threads."), &thread_apply_list); --------------020804070304010008040007--