From: Andrew STUBBS <andrew.stubbs@st.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] thread apply help
Date: Wed, 09 Nov 2005 20:31:00 -0000 [thread overview]
Message-ID: <43723A70.9050309@st.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
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
[-- Attachment #2: thread_apply.patch --]
[-- Type: text/plain, Size: 755 bytes --]
2005-11-09 Andrew Stubbs <andrew.stubbs@st.com>
* 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);
next reply other threads:[~2005-11-09 18:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 20:31 Andrew STUBBS [this message]
2005-11-13 19:03 ` Daniel Jacobowitz
2005-11-14 22:18 ` Andrew STUBBS
2005-11-15 4:03 ` Daniel Jacobowitz
2005-11-14 22:42 ` Andrew STUBBS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43723A70.9050309@st.com \
--to=andrew.stubbs@st.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox