if lldb_platform_url:
# We must connect to a remote platform if a LLDB platform URL was specified
print "Connecting to remote platform '%s' at '%s'..." % (lldb_platform_name, lldb_platform_url)
- lldb.platfrom_url = lldb_platform_url
+ lldb.platform_url = lldb_platform_url
platform_connect_options = lldb.SBPlatformConnectOptions(lldb_platform_url)
err = lldb.remote_platform.ConnectRemote(platform_connect_options)
if err.Success():
print "error: failed to connect to remote platform using URL '%s': %s" % (lldb_platform_url, err)
exitTestSuite(1)
else:
- lldb.platfrom_url = None
+ lldb.platform_url = None
if lldb_platform_working_dir:
print "Setting remote platform working directory to '%s'..." % (lldb_platform_working_dir)
else:
lldb.remote_platform = None
lldb.remote_platform_working_dir = None
- lldb.platfrom_url = None
+ lldb.platform_url = None
target_platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2]
self.named_pipe = None
self.named_pipe_fd = None
self.stub_sends_two_stop_notifications_on_kill = False
- if lldb.platfrom_url:
- self.stub_hostname = re.match(".*://(.*):[0-9]+", lldb.platfrom_url).group(1)
+ if lldb.platform_url:
+ self.stub_hostname = re.match(".*://(.*):[0-9]+", lldb.platform_url).group(1)
else:
self.stub_hostname = "localhost"