forked from OSchip/llvm-project
[lldb] improve the help strings for gdb-remote and kdp-remote
The help string can be more helpful by explaining these are aliases for 'process connect' Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D111965
This commit is contained in:
parent
9c44a0996c
commit
8ac5a6641f
|
@ -744,8 +744,10 @@ void CommandInterpreter::LoadCommandDictionary() {
|
|||
std::unique_ptr<CommandObjectRegexCommand> connect_gdb_remote_cmd_up(
|
||||
new CommandObjectRegexCommand(
|
||||
*this, "gdb-remote",
|
||||
"Connect to a process via remote GDB server. "
|
||||
"If no host is specifed, localhost is assumed.",
|
||||
"Connect to a process via remote GDB server.\n"
|
||||
"If no host is specifed, localhost is assumed.\n"
|
||||
"gdb-remote is an abbreviation for 'process connect --plugin "
|
||||
"gdb-remote connect://<hostname>:<port>'\n",
|
||||
"gdb-remote [<hostname>:]<portnum>", 2, 0, false));
|
||||
if (connect_gdb_remote_cmd_up) {
|
||||
if (connect_gdb_remote_cmd_up->AddRegexCommand(
|
||||
|
@ -762,9 +764,10 @@ void CommandInterpreter::LoadCommandDictionary() {
|
|||
std::unique_ptr<CommandObjectRegexCommand> connect_kdp_remote_cmd_up(
|
||||
new CommandObjectRegexCommand(
|
||||
*this, "kdp-remote",
|
||||
"Connect to a process via remote KDP server. "
|
||||
"If no UDP port is specified, port 41139 is "
|
||||
"assumed.",
|
||||
"Connect to a process via remote KDP server.\n"
|
||||
"If no UDP port is specified, port 41139 is assumed.\n"
|
||||
"kdp-remote is an abbreviation for 'process connect --plugin "
|
||||
"kdp-remote udp://<hostname>:<port>'\n",
|
||||
"kdp-remote <hostname>[:<portnum>]", 2, 0, false));
|
||||
if (connect_kdp_remote_cmd_up) {
|
||||
if (connect_kdp_remote_cmd_up->AddRegexCommand(
|
||||
|
|
Loading…
Reference in New Issue