Update to match changes in lldb interface.
authorDevang Patel <dpatel@apple.com>
Tue, 1 Feb 2011 21:47:35 +0000 (21:47 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 1 Feb 2011 21:47:35 +0000 (21:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124687 91177308-0d34-0410-b5e6-96231b3b80d8

utils/CollectDebugInfoUsingLLDB.py

index cc40450218ff817744ec18f065b4bac013d397d8..4dbd19afa62b0d5b71b2a7aa604d6b6df38067de 100755 (executable)
@@ -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)