summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-19 19:25:37 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-19 19:25:37 +0000
commit272ae4df7cac3fbfe8b850c9552e6e32a6867fd0 (patch)
treeb18e82c522ebbf388bbe01acb283d6527671c481 /lldb/test/python_api
parentbaf11799daf7094b9ea291798f274c6bd13a59ed (diff)
downloadbcm5719-llvm-272ae4df7cac3fbfe8b850c9552e6e32a6867fd0.tar.gz
bcm5719-llvm-272ae4df7cac3fbfe8b850c9552e6e32a6867fd0.zip
Converted to use SBProcess.LaunchSimple().
llvm-svn: 129789
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/event/TestEvents.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py
index 624cb0c5369..8bd3afd58d9 100644
--- a/lldb/test/python_api/event/TestEvents.py
+++ b/lldb/test/python_api/event/TestEvents.py
@@ -122,8 +122,7 @@ class EventAPITestCase(TestBase):
VALID_BREAKPOINT)
# Now launch the process, and do not stop at the entry point.
- error = lldb.SBError()
- self.process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
+ self.process = target.LaunchSimple(None, None, os.getcwd())
self.process = target.GetProcess()
self.assertTrue(self.process.GetState() == lldb.eStateStopped,
OpenPOWER on IntegriCloud