summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-23 17:46:22 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-23 17:46:22 +0000
commit6f907e69e9de7e59f94f664788cca86b96145648 (patch)
tree62b20f933a5f01f992c56d6725c5cdf117fc0878 /lldb/test/python_api
parent499897b463f48bdce9c3ea1b20e54fac903a166f (diff)
downloadbcm5719-llvm-6f907e69e9de7e59f94f664788cca86b96145648.tar.gz
bcm5719-llvm-6f907e69e9de7e59f94f664788cca86b96145648.zip
Deprecated old forms of SBTarget::Launch. There is not just one and no
SWIG renaming done to work around deprecated APIs. llvm-svn: 124075
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/event/TestEvents.py6
-rw-r--r--lldb/test/python_api/frame/TestFrames.py3
-rw-r--r--lldb/test/python_api/symbol-context/TestSymbolContext.py3
3 files changed, 8 insertions, 4 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py
index 0c437831aa6..bb59b2ff780 100644
--- a/lldb/test/python_api/event/TestEvents.py
+++ b/lldb/test/python_api/event/TestEvents.py
@@ -60,7 +60,8 @@ class EventAPITestCase(TestBase):
VALID_BREAKPOINT)
# Now launch the process, and do not stop at entry point.
- self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
+ error = lldb.SBError()
+ self.process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
self.process = target.GetProcess()
self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)
@@ -121,7 +122,8 @@ class EventAPITestCase(TestBase):
VALID_BREAKPOINT)
# Now launch the process, and do not stop at the entry point.
- self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
+ error = lldb.SBError()
+ self.process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
self.process = target.GetProcess()
self.assertTrue(self.process.GetState() == lldb.eStateStopped,
diff --git a/lldb/test/python_api/frame/TestFrames.py b/lldb/test/python_api/frame/TestFrames.py
index d0aedfa5158..bd64a4ac7fc 100644
--- a/lldb/test/python_api/frame/TestFrames.py
+++ b/lldb/test/python_api/frame/TestFrames.py
@@ -44,7 +44,8 @@ class FrameAPITestCase(TestBase):
# Note that we don't assign the process to self.process as in other test
# cases. We want the inferior to run till it exits and there's no need
# for the testing framework to kill the inferior upon tearDown().
- process = target.LaunchProcess([], [], os.ctermid(), 0, False)
+ error = lldb.SBError()
+ process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
process = target.GetProcess()
self.assertTrue(process.GetState() == lldb.eStateStopped,
diff --git a/lldb/test/python_api/symbol-context/TestSymbolContext.py b/lldb/test/python_api/symbol-context/TestSymbolContext.py
index 6cadc55de24..357387fe4ca 100644
--- a/lldb/test/python_api/symbol-context/TestSymbolContext.py
+++ b/lldb/test/python_api/symbol-context/TestSymbolContext.py
@@ -47,7 +47,8 @@ class SymbolContextAPITestCase(TestBase):
VALID_BREAKPOINT)
# Now launch the process, and do not stop at entry point.
- self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
+ error = lldb.SBError()
+ self.process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
self.process = target.GetProcess()
self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)
OpenPOWER on IntegriCloud