[Lldb-commits] [lldb] r129793 - /lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py

Johnny Chen johnny.chen at apple.com
Tue Apr 19 12:50:43 PDT 2011


Author: johnny
Date: Tue Apr 19 14:50:43 2011
New Revision: 129793

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

Modified:
    lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py

Modified: lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py?rev=129793&r1=129792&r2=129793&view=diff
==============================================================================
--- lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py (original)
+++ lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py Tue Apr 19 14:50:43 2011
@@ -47,8 +47,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