diff options
| author | kennytm <kennytm@gmail.com> | 2017-10-10 00:16:22 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-10-10 00:27:19 +0800 |
| commit | 9687c2efbeeabf775044d5f263988cf8a4e1e830 (patch) | |
| tree | 026575fa558fedfe39b6932495ae5567f8d14df9 /src | |
| parent | 9e6b565c61939dc8c293d2d1049b940c6836fb6f (diff) | |
| parent | 07b189977d88d1de595601e7137275e4f4ccd8a2 (diff) | |
| download | rust-9687c2efbeeabf775044d5f263988cf8a4e1e830.tar.gz rust-9687c2efbeeabf775044d5f263988cf8a4e1e830.zip | |
Rollup merge of #45091 - kennytm:fix-45086, r=michaelwoerister
debuginfo-test: Fix #45086. Fixes #45086, where all debuginfo-lldb fails when using LLDB from Xcode 9.
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/lldb_batchmode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/lldb_batchmode.py b/src/etc/lldb_batchmode.py index 4952cf4f82c..24a0ce0ac36 100644 --- a/src/etc/lldb_batchmode.py +++ b/src/etc/lldb_batchmode.py @@ -81,7 +81,7 @@ def execute_command(command_interpreter, command): if res.Succeeded(): if res.HasResult(): - print(normalize_whitespace(res.GetOutput()), end='\n') + print(normalize_whitespace(res.GetOutput() or ''), end='\n') # If the command introduced any breakpoints, make sure to register # them with the breakpoint |
