diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-05-25 20:56:32 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-05-25 20:56:32 +0000 |
commit | 2cf62497b3d3b162dfeb59729006aa72deda6f85 (patch) | |
tree | 67d59cefd04aa2d2e171ba661bd32b00db5c6542 /lldb/examples/python/disasm.py | |
parent | 8c5e4192e6e3d322844630a50b718f4f282e6b21 (diff) | |
download | bcm5719-llvm-2cf62497b3d3b162dfeb59729006aa72deda6f85.tar.gz bcm5719-llvm-2cf62497b3d3b162dfeb59729006aa72deda6f85.zip |
Modified to use SBTarget.LaunchSimple() API.
llvm-svn: 132082
Diffstat (limited to 'lldb/examples/python/disasm.py')
-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: |