summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/IOHandler.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-06-11 23:10:41 +0000
committerGreg Clayton <gclayton@apple.com>2014-06-11 23:10:41 +0000
commitbc88d938f7fe331daf2bf4a3864cfbb02b2dfc93 (patch)
treeafa1a56503a88f7461d786164a81f2546d4f80b4 /lldb/source/Core/IOHandler.cpp
parenta997d928fcc80b7f9ce894256e9377f205f00795 (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud