[Lldb-commits] [lldb] r166464 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Jason Molenda jmolenda at apple.com
Mon Oct 22 20:05:16 PDT 2012


Author: jmolenda
Date: Mon Oct 22 22:05:16 2012
New Revision: 166464

URL: http://llvm.org/viewvc/llvm-project?rev=166464&view=rev
Log:
Clean up help/usage messages for kdp-remote / gdb-remote a little bit.

Modified:
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=166464&r1=166463&r2=166464&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Mon Oct 22 22:05:16 2012
@@ -517,8 +517,8 @@
     std::auto_ptr<CommandObjectRegexCommand>
     connect_gdb_remote_cmd_ap(new CommandObjectRegexCommand (*this,
                                                       "gdb-remote",
-                                                      "Connect to a remote GDB server.",
-                                                      "gdb-remote [<host>:<port>]\ngdb-remote [<port>]", 2));
+                                                      "Connect to a remote GDB server.  If no hostname is provided, localhost is assumed.",
+                                                      "gdb-remote [<hostname>:]<portnum>", 2));
     if (connect_gdb_remote_cmd_ap.get())
     {
         if (connect_gdb_remote_cmd_ap->AddRegexCommand("^([^:]+:[[:digit:]]+)$", "process connect --plugin gdb-remote connect://%1") &&
@@ -532,8 +532,8 @@
     std::auto_ptr<CommandObjectRegexCommand>
     connect_kdp_remote_cmd_ap(new CommandObjectRegexCommand (*this,
                                                              "kdp-remote",
-                                                             "Connect to a remote KDP server.",
-                                                             "kdp-remote [<host>]\nkdp-remote [<host>:<port>]", 2));
+                                                             "Connect to a remote KDP server.  udp port 41139 is the default port number.",
+                                                             "kdp-remote <hostname>[:<portnum>]", 2));
     if (connect_kdp_remote_cmd_ap.get())
     {
         if (connect_kdp_remote_cmd_ap->AddRegexCommand("^([^:]+:[[:digit:]]+)$", "process connect --plugin kdp-remote udp://%1") &&





More information about the lldb-commits mailing list