Reviewers: chying, ovyalov
Reviewed By: chying, ovyalov
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D9510
llvm-svn: 236560
self.named_pipe_fd = None
self.stub_sends_two_stop_notifications_on_kill = False
if lldb.platform_url:
- self.stub_hostname = re.match(".*://(.*):[0-9]+", lldb.platform_url).group(1)
+ scheme, host = re.match('(.+)://(.+):\d+', lldb.platform_url).groups()
+ self.stub_hostname = 'localhost' if scheme == 'adb' else host
else:
self.stub_hostname = "localhost"