[Lldb-commits] [lldb] r222243 - Patch from dawn at burble.org to make the --silent-run do what it says, not the opposite of what it says.
Jim Ingham
jingham at apple.com
Tue Nov 18 11:12:13 PST 2014
Author: jingham
Date: Tue Nov 18 13:12:13 2014
New Revision: 222243
URL: http://llvm.org/viewvc/llvm-project?rev=222243&view=rev
Log:
Patch from dawn at burble.org to make the --silent-run do what it says, not the opposite of what it says.
Modified:
lldb/trunk/source/Commands/CommandObjectCommands.cpp
Modified: lldb/trunk/source/Commands/CommandObjectCommands.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectCommands.cpp?rev=222243&r1=222242&r2=222243&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectCommands.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectCommands.cpp Tue Nov 18 13:12:13 2014
@@ -366,7 +366,7 @@ protected:
// Instance variables to hold the values for command options.
OptionValueBoolean m_stop_on_error;
- OptionValueBoolean m_silent_run;
+ OptionValueBoolean m_silent_run;
OptionValueBoolean m_stop_on_continue;
};
@@ -390,8 +390,8 @@ protected:
CommandInterpreterRunOptions options;
options.SetStopOnContinue(m_options.m_stop_on_continue.GetCurrentValue());
options.SetStopOnError (m_options.m_stop_on_error.GetCurrentValue());
- options.SetEchoCommands (m_options.m_silent_run.GetCurrentValue());
- options.SetPrintResults (m_options.m_silent_run.GetCurrentValue());
+ options.SetEchoCommands (!m_options.m_silent_run.GetCurrentValue());
+ options.SetPrintResults (!m_options.m_silent_run.GetCurrentValue());
m_interpreter.HandleCommandsFromFile (cmd_file,
exe_ctx,
More information about the lldb-commits
mailing list