From bc88d938f7fe331daf2bf4a3864cfbb02b2dfc93 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 11 Jun 2014 23:10:41 +0000 Subject: [PATCH] Multi-line expressions in Xcode now have a space between the line number and the expression text. llvm-svn: 210718 --- lldb/source/Core/IOHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp index eb90462afee8..add3ad8c5ba3 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;