[llvm-commits] [llvm] r124687 - /llvm/trunk/utils/CollectDebugInfoUsingLLDB.py

Devang Patel dpatel at apple.com
Tue Feb 1 13:47:35 PST 2011


Author: dpatel
Date: Tue Feb  1 15:47:35 2011
New Revision: 124687

URL: http://llvm.org/viewvc/llvm-project?rev=124687&view=rev
Log:
Update to match changes in lldb interface.

Modified:
    llvm/trunk/utils/CollectDebugInfoUsingLLDB.py

Modified: llvm/trunk/utils/CollectDebugInfoUsingLLDB.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/CollectDebugInfoUsingLLDB.py?rev=124687&r1=124686&r2=124687&view=diff
==============================================================================
--- llvm/trunk/utils/CollectDebugInfoUsingLLDB.py (original)
+++ llvm/trunk/utils/CollectDebugInfoUsingLLDB.py Tue Feb  1 15:47:35 2011
@@ -154,7 +154,8 @@
 
     # 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)





More information about the llvm-commits mailing list