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:
parent
e4bd054f98
commit
c36b184fa2
|
@ -485,7 +485,7 @@ CommandInterpreter::LoadCommandDictionary ()
|
||||||
if (connect_kdp_remote_cmd_ap.get())
|
if (connect_kdp_remote_cmd_ap.get())
|
||||||
{
|
{
|
||||||
if (connect_kdp_remote_cmd_ap->AddRegexCommand("^([^:]+:[[:digit:]]+)$", "process connect --plugin kdp-remote udp://%1") &&
|
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());
|
CommandObjectSP command_sp(connect_kdp_remote_cmd_ap.release());
|
||||||
m_command_dict[command_sp->GetCommandName ()] = command_sp;
|
m_command_dict[command_sp->GetCommandName ()] = command_sp;
|
||||||
|
|
Loading…
Reference in New Issue