[Lldb-commits] [lldb] r132082 - /lldb/trunk/examples/python/disasm.py

Johnny Chen johnny.chen at apple.com
Wed May 25 13:56:32 PDT 2011


Author: johnny
Date: Wed May 25 15:56:32 2011
New Revision: 132082

URL: http://llvm.org/viewvc/llvm-project?rev=132082&view=rev
Log:
Modified to use SBTarget.LaunchSimple() API.

Modified:
    lldb/trunk/examples/python/disasm.py

Modified: lldb/trunk/examples/python/disasm.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/disasm.py?rev=132082&r1=132081&r2=132082&view=diff
==============================================================================
--- lldb/trunk/examples/python/disasm.py (original)
+++ lldb/trunk/examples/python/disasm.py Wed May 25 15:56:32 2011
@@ -37,8 +37,7 @@
 
     # Launch the process. Since we specified synchronous mode, we won't return
     # from this function until we hit the breakpoint at main
-    error = lldb.SBError()
-    process = target.Launch (debugger.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
+    process = target.LaunchSimple (None, None, os.getcwd())
     
     # Make sure the launch went ok
     if process:





More information about the lldb-commits mailing list