diff options
Diffstat (limited to 'lldb/examples/python')
-rwxr-xr-x | lldb/examples/python/disasm.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/examples/python/disasm.py b/lldb/examples/python/disasm.py index 8a7e5a10b5e..9dd2b74f9cc 100755 --- a/lldb/examples/python/disasm.py +++ b/lldb/examples/python/disasm.py @@ -37,8 +37,7 @@ if target: # 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: |