Converted to use SBProcess.LaunchSimple().

llvm-svn: 129789
This commit is contained in:
Johnny Chen 2011-04-19 19:25:37 +00:00
parent baf11799da
commit 272ae4df7c
1 changed files with 1 additions and 2 deletions

View File

@ -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,