summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-01 21:47:35 +0000
committerDevang Patel <dpatel@apple.com>2011-02-01 21:47:35 +0000
commit195e69536f0f5c0778eb71b46a31385a213f0ba6 (patch)
tree9be08ca22e73a372401baad44f9e55aa7f4c977f
parent2725aa13eab6f10d6aa825f3a48bb462e21616cc (diff)
downloadbcm5719-llvm-195e69536f0f5c0778eb71b46a31385a213f0ba6.tar.gz
bcm5719-llvm-195e69536f0f5c0778eb71b46a31385a213f0ba6.zip
Update to match changes in lldb interface.
llvm-svn: 124687
-rwxr-xr-xllvm/utils/CollectDebugInfoUsingLLDB.py3
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)
OpenPOWER on IntegriCloud