diff options
author | Devang Patel <dpatel@apple.com> | 2011-02-01 21:47:35 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-02-01 21:47:35 +0000 |
commit | 195e69536f0f5c0778eb71b46a31385a213f0ba6 (patch) | |
tree | 9be08ca22e73a372401baad44f9e55aa7f4c977f | |
parent | 2725aa13eab6f10d6aa825f3a48bb462e21616cc (diff) | |
download | bcm5719-llvm-195e69536f0f5c0778eb71b46a31385a213f0ba6.tar.gz bcm5719-llvm-195e69536f0f5c0778eb71b46a31385a213f0ba6.zip |
Update to match changes in lldb interface.
llvm-svn: 124687
-rwxr-xr-x | llvm/utils/CollectDebugInfoUsingLLDB.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/CollectDebugInfoUsingLLDB.py b/llvm/utils/CollectDebugInfoUsingLLDB.py index cc40450218f..4dbd19afa62 100755 --- a/llvm/utils/CollectDebugInfoUsingLLDB.py +++ b/llvm/utils/CollectDebugInfoUsingLLDB.py @@ -154,7 +154,8 @@ if target.IsValid(): # Launch the process. Since we specified synchronous mode, we won't return # from this function until we hit the breakpoint at main - process = target.LaunchProcess ([''], [''], "/dev/stdout", 0, False) + sberror = lldb.SBError() + process = target.Launch (None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, sberror) # Make sure the launch went ok while stopped_at_breakpoint(process): thread = process.GetThreadAtIndex (0) |