diff options
author | Tom Tromey <tromey@adacore.com> | 2024-06-07 13:20:36 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-11-11 07:44:27 -0700 |
commit | 9f7ed4d5cad3e85bd2b46118cd6eff2e58908f0a (patch) | |
tree | b0cc6c3479695bb3b1832fc9585e35de94c06246 | |
parent | 0fd0f223009674f4db5c03c31683e451ac8d78cf (diff) | |
download | gdb-9f7ed4d5cad3e85bd2b46118cd6eff2e58908f0a.zip gdb-9f7ed4d5cad3e85bd2b46118cd6eff2e58908f0a.tar.gz gdb-9f7ed4d5cad3e85bd2b46118cd6eff2e58908f0a.tar.bz2 |
Remove the "title" from the remote packet help
The help for remote packet controls includes the "title". However
this is is just the parameter name, and not really useful to see
repeated in the help text.
Approved-By: Eli Zaretskii <eliz@gnu.org>
-rw-r--r-- | gdb/remote.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index b65a1c3..f411299 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2503,11 +2503,9 @@ add_packet_config_cmd (const unsigned int which_packet, const char *name, packet_config *config = &remote_protocol_packets[which_packet]; gdb::unique_xmalloc_ptr<char> set_doc - = xstrprintf ("Set use of remote protocol `%s' (%s) packet.", - name, title); + = xstrprintf ("Set use of remote protocol `%s' packet.", name); gdb::unique_xmalloc_ptr<char> show_doc - = xstrprintf ("Show current use of remote protocol `%s' (%s) packet.", - name, title); + = xstrprintf ("Show current use of remote protocol `%s' packet.", name); /* set/show TITLE-packet {auto,on,off} */ gdb::unique_xmalloc_ptr<char> cmd_name = xstrprintf ("%s-packet", title); set_show_commands cmds |