[Lldb-commits] [lldb] r129784 - /lldb/trunk/test/hello_world/TestHelloWorld.py

Johnny Chen johnny.chen at apple.com
Tue Apr 19 11:52:56 PDT 2011


Author: johnny
Date: Tue Apr 19 13:52:56 2011
New Revision: 129784

URL: http://llvm.org/viewvc/llvm-project?rev=129784&view=rev
Log:
Converted to use SBProcess.LaunchSimple().

Modified:
    lldb/trunk/test/hello_world/TestHelloWorld.py

Modified: lldb/trunk/test/hello_world/TestHelloWorld.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/hello_world/TestHelloWorld.py?rev=129784&r1=129783&r2=129784&view=diff
==============================================================================
--- lldb/trunk/test/hello_world/TestHelloWorld.py (original)
+++ lldb/trunk/test/hello_world/TestHelloWorld.py Tue Apr 19 13:52:56 2011
@@ -52,8 +52,7 @@
         # SBTarget.Launch() issue (or is there some race condition)?
 
         if useLaunchAPI:
-            error = lldb.SBError()
-            process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
+            process = target.LaunchSimple(None, None, os.getcwd())
             # The following isn't needed anymore, rdar://8364687 is fixed.
             #
             # Apply some dances after LaunchProcess() in order to break at "main".





More information about the lldb-commits mailing list