[Lldb-commits] [lldb] r236543 - Fix typo. platfrom -> platform
Chaoren Lin
chaorenl at google.com
Tue May 5 13:34:36 PDT 2015
Author: chaoren
Date: Tue May 5 15:34:36 2015
New Revision: 236543
URL: http://llvm.org/viewvc/llvm-project?rev=236543&view=rev
Log:
Fix typo. platfrom -> platform
Modified:
lldb/trunk/test/dotest.py
lldb/trunk/test/tools/lldb-server/gdbremote_testcase.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=236543&r1=236542&r2=236543&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Tue May 5 15:34:36 2015
@@ -1336,7 +1336,7 @@ if lldb_platform_name:
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():
@@ -1345,7 +1345,7 @@ if lldb_platform_name:
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)
@@ -1356,7 +1356,7 @@ if lldb_platform_name:
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]
Modified: lldb/trunk/test/tools/lldb-server/gdbremote_testcase.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-server/gdbremote_testcase.py?rev=236543&r1=236542&r2=236543&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-server/gdbremote_testcase.py (original)
+++ lldb/trunk/test/tools/lldb-server/gdbremote_testcase.py Tue May 5 15:34:36 2015
@@ -60,8 +60,8 @@ class GdbRemoteTestCaseBase(TestBase):
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"
More information about the lldb-commits
mailing list