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

Jason Molenda jmolenda at apple.com
Wed Sep 26 19:47:55 PDT 2012


Author: jmolenda
Date: Wed Sep 26 21:47:55 2012
New Revision: 164752

URL: http://llvm.org/viewvc/llvm-project?rev=164752&view=rev
Log:
Change the kdp-remote alias to require a hostname (instead of allowing a zero-length hostname to be specified).


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=164752&r1=164751&r2=164752&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Wed Sep 26 21:47:55 2012
@@ -485,7 +485,7 @@
     if (connect_kdp_remote_cmd_ap.get())
     {
         if (connect_kdp_remote_cmd_ap->AddRegexCommand("^([^:]+:[[:digit:]]+)$", "process connect --plugin kdp-remote udp://%1") &&
-            connect_kdp_remote_cmd_ap->AddRegexCommand("^(.*)$", "process connect --plugin kdp-remote udp://%1:41139"))
+            connect_kdp_remote_cmd_ap->AddRegexCommand("^(.+)$", "process connect --plugin kdp-remote udp://%1:41139"))
         {
             CommandObjectSP command_sp(connect_kdp_remote_cmd_ap.release());
             m_command_dict[command_sp->GetCommandName ()] = command_sp;





More information about the lldb-commits mailing list