Change the kdp-remote alias to require a hostname (instead of allowing a zero-length hostname to be specified).

llvm-svn: 164752
This commit is contained in:
Jason Molenda 2012-09-27 02:47:55 +00:00
parent e4bd054f98
commit c36b184fa2
1 changed files with 1 additions and 1 deletions

View File

@ -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;