[Lldb-commits] [lldb] r112731 - /lldb/trunk/source/Commands/CommandObjectExpression.cpp
Jim Ingham
jingham at apple.com
Wed Sep 1 12:53:33 PDT 2010
Author: jingham
Date: Wed Sep 1 14:53:33 2010
New Revision: 112731
URL: http://llvm.org/viewvc/llvm-project?rev=112731&view=rev
Log:
Stream::Printf doesn't add a newline, so it needs to be added to all the error messages in CommandObjectExpression::EvaluateExpression.
Modified:
lldb/trunk/source/Commands/CommandObjectExpression.cpp
Modified: lldb/trunk/source/Commands/CommandObjectExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectExpression.cpp?rev=112731&r1=112730&r2=112731&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectExpression.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectExpression.cpp Wed Sep 1 14:53:33 2010
@@ -192,7 +192,7 @@
{
if (!m_exe_ctx.process)
{
- error_stream.Printf ("Execution context doesn't contain a process");
+ error_stream.Printf ("Execution context doesn't contain a process\n");
return false;
}
@@ -204,7 +204,7 @@
if (!dynamic_checkers->Install(install_errors, m_exe_ctx))
{
- error_stream.Printf("Couldn't install dynamic checkers into the execution context: %s", install_errors.GetData());
+ error_stream.Printf("Couldn't install dynamic checkers into the execution context: %s\n", install_errors.GetData());
return false;
}
@@ -215,7 +215,7 @@
if (!user_expression.Parse (error_stream, m_exe_ctx))
{
- error_stream.Printf ("Couldn't parse the expresssion");
+ error_stream.Printf ("Couldn't parse the expresssion\n");
return false;
}
@@ -223,7 +223,7 @@
if (!user_expression.Execute (error_stream, m_exe_ctx, expr_result))
{
- error_stream.Printf ("Couldn't execute the expresssion");
+ error_stream.Printf ("Couldn't execute the expresssion\n");
return false;
}
More information about the lldb-commits
mailing list