Modified to use SBTarget.LaunchSimple() API.

llvm-svn: 132082
This commit is contained in:
Johnny Chen
2011-05-25 20:56:32 +00:00
parent 8c5e4192e6
commit 2cf62497b3

View File

@@ -37,8 +37,7 @@ if target:
# Launch the process. Since we specified synchronous mode, we won't return
# from this function until we hit the breakpoint at main
error = lldb.SBError()
process = target.Launch (debugger.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
process = target.LaunchSimple (None, None, os.getcwd())
# Make sure the launch went ok
if process: