[Lldb-commits] [lldb] r129795 - /lldb/trunk/test/python_api/target/TestTargetAPI.py

Johnny Chen johnny.chen at apple.com
Tue Apr 19 12:54:06 PDT 2011


Author: johnny
Date: Tue Apr 19 14:54:06 2011
New Revision: 129795

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

Modified:
    lldb/trunk/test/python_api/target/TestTargetAPI.py

Modified: lldb/trunk/test/python_api/target/TestTargetAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/target/TestTargetAPI.py?rev=129795&r1=129794&r2=129795&view=diff
==============================================================================
--- lldb/trunk/test/python_api/target/TestTargetAPI.py (original)
+++ lldb/trunk/test/python_api/target/TestTargetAPI.py Tue Apr 19 14:54:06 2011
@@ -106,8 +106,7 @@
                         VALID_BREAKPOINT)
 
         # Now launch the process, and do not stop at entry point.
-        error = lldb.SBError()
-        self.process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
+        self.process = target.LaunchSimple(None, None, os.getcwd())
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)





More information about the lldb-commits mailing list