[Lldb-commits] [lldb] r129780 - /lldb/trunk/test/cpp/dynamic-value/TestDynamicValue.py

Johnny Chen johnny.chen at apple.com
Tue Apr 19 11:38:30 PDT 2011


Author: johnny
Date: Tue Apr 19 13:38:30 2011
New Revision: 129780

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

Modified:
    lldb/trunk/test/cpp/dynamic-value/TestDynamicValue.py

Modified: lldb/trunk/test/cpp/dynamic-value/TestDynamicValue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/cpp/dynamic-value/TestDynamicValue.py?rev=129780&r1=129779&r2=129780&view=diff
==============================================================================
--- lldb/trunk/test/cpp/dynamic-value/TestDynamicValue.py (original)
+++ lldb/trunk/test/cpp/dynamic-value/TestDynamicValue.py Tue Apr 19 13:38:30 2011
@@ -114,9 +114,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.assertTrue(self.process.GetState() == lldb.eStateStopped,
                         PROCESS_STOPPED)





More information about the lldb-commits mailing list