Author: gclayton
Date: Wed Jun 11 18:10:41 2014
New Revision: 210718
URL: http://llvm.org/viewvc/llvm-project?rev=210718&view=rev
Log:
Multi-line expressions in Xcode now have a space between the line number and
the expression text.
<rdar://problem/17238093>
Modified:
lldb/trunk/source/Core/IOHandler.cpp
Modified: lldb/trunk/source/Core/IOHandler.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/IOHandler.cpp?rev=210718&r1=210717&r2=210718&view=diff
==============================================================================
--- lldb/trunk/source/Core/IOHandler.cpp (original)
+++ lldb/trunk/source/Core/IOHandler.cpp Wed Jun 11 18:10:41 2014
@@ -540,7 +540,7 @@ IOHandlerEditline::GetLines (StringList
{
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;
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits