summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-09-27 02:47:55 +0000
committerJason Molenda <jmolenda@apple.com>2012-09-27 02:47:55 +0000
commitc36b184fa2a8cbd083df03664da1f2c1fc264c31 (patch)
tree7d53c0f7b4fed547456117a229277b5b654bb05a
parente4bd054f982d95c08714c6d24bffeaf7a3be9c29 (diff)
downloadbcm5719-llvm-c36b184fa2a8cbd083df03664da1f2c1fc264c31.tar.gz
bcm5719-llvm-c36b184fa2a8cbd083df03664da1f2c1fc264c31.zip
Change the kdp-remote alias to require a hostname (instead of allowing a zero-length hostname to be specified).
llvm-svn: 164752
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 29ebb694890..52ba414c5f8 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -485,7 +485,7 @@ CommandInterpreter::LoadCommandDictionary ()
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;
OpenPOWER on IntegriCloud