aboutsummaryrefslogtreecommitdiffstats
path: root/utils
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
commita3138424cfbf92f995ef7c08537098307d279df3 (patch)
tree9019ddccd81b8598d17794e2aaaf69959b560b35 /utils
parentcf2cdc9cae27a25deb50013b1337abb0c522c354 (diff)
downloadexternal_llvm-a3138424cfbf92f995ef7c08537098307d279df3.zip
external_llvm-a3138424cfbf92f995ef7c08537098307d279df3.tar.gz
external_llvm-a3138424cfbf92f995ef7c08537098307d279df3.tar.bz2
Update to match changes in lldb interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/CollectDebugInfoUsingLLDB.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/CollectDebugInfoUsingLLDB.py b/utils/CollectDebugInfoUsingLLDB.py
index cc40450..4dbd19a 100755
--- a/utils/CollectDebugInfoUsingLLDB.py
+++ b/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)