diff options
author | Greg Clayton <gclayton@apple.com> | 2014-06-11 23:10:41 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-06-11 23:10:41 +0000 |
commit | bc88d938f7fe331daf2bf4a3864cfbb02b2dfc93 (patch) | |
tree | afa1a56503a88f7461d786164a81f2546d4f80b4 /lldb/source/Core/IOHandler.cpp | |
parent | a997d928fcc80b7f9ce894256e9377f205f00795 (diff) | |
download | bcm5719-llvm-bc88d938f7fe331daf2bf4a3864cfbb02b2dfc93.tar.gz bcm5719-llvm-bc88d938f7fe331daf2bf4a3864cfbb02b2dfc93.zip |
Multi-line expressions in Xcode now have a space between the line number and the expression text.
<rdar://problem/17238093>
llvm-svn: 210718
Diffstat (limited to 'lldb/source/Core/IOHandler.cpp')
-rw-r--r-- | lldb/source/Core/IOHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp index eb90462afee..add3ad8c5ba 100644 --- a/lldb/source/Core/IOHandler.cpp +++ b/lldb/source/Core/IOHandler.cpp @@ -540,7 +540,7 @@ IOHandlerEditline::GetLines (StringList &lines, bool &interrupted) { FILE *out = GetOutputFILE(); if (out) - ::fprintf(out, "%u", m_base_line_number + (uint32_t)lines.GetSize()); + ::fprintf(out, "%u%s", m_base_line_number + (uint32_t)lines.GetSize(), GetPrompt() == NULL ? " " : ""); } bool interrupted = false; |