Skip to content

Commit

Permalink
Rollup merge of rust-lang#45091 - kennytm:fix-45086, r=michaelwoerister
Browse files Browse the repository at this point in the history
debuginfo-test: Fix rust-lang#45086.

Fixes rust-lang#45086, where all debuginfo-lldb fails when using LLDB from Xcode 9.
  • Loading branch information
kennytm committed Oct 9, 2017
2 parents 9e6b565 + 07b1899 commit 9687c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/lldb_batchmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9687c2e

Please sign in to comment.