Update to match changes in lldb interface.

llvm-svn: 124687
This commit is contained in:
Devang Patel 2011-02-01 21:47:35 +00:00
parent 2725aa13ea
commit 195e69536f
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ if target.IsValid():
# Launch the process. Since we specified synchronous mode, we won't return
# from this function until we hit the breakpoint at main
process = target.LaunchProcess ([''], [''], "/dev/stdout", 0, False)
sberror = lldb.SBError()
process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, sberror)
# Make sure the launch went ok
while stopped_at_breakpoint(process):
thread = process.GetThreadAtIndex (0)