Converted to use SBProcess.LaunchSimple().

llvm-svn: 129779
This commit is contained in:
Johnny Chen 2011-04-19 18:23:28 +00:00
parent c506d8bf9f
commit 822198ef77
1 changed files with 1 additions and 2 deletions

View File

@ -80,8 +80,7 @@ class StaticVariableTestCase(TestBase):
self.assertTrue(breakpoint.IsValid(), VALID_BREAKPOINT)
# Now launch the process, and do not stop at 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.IsValid(), PROCESS_IS_VALID)