[Lldb-commits] [lldb] r129789 - /lldb/trunk/test/python_api/event/TestEvents.py

Johnny Chen johnny.chen at apple.com
Tue Apr 19 12:25:38 PDT 2011


Author: johnny
Date: Tue Apr 19 14:25:37 2011
New Revision: 129789

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

Modified:
    lldb/trunk/test/python_api/event/TestEvents.py

Modified: lldb/trunk/test/python_api/event/TestEvents.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/event/TestEvents.py?rev=129789&r1=129788&r2=129789&view=diff
==============================================================================
--- lldb/trunk/test/python_api/event/TestEvents.py (original)
+++ lldb/trunk/test/python_api/event/TestEvents.py Tue Apr 19 14:25:37 2011
@@ -122,8 +122,7 @@
                         VALID_BREAKPOINT)
 
         # Now launch the process, and do not stop at the 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.GetState() == lldb.eStateStopped,





More information about the lldb-commits mailing list