From: Jim Ingham Date: Tue, 18 Nov 2014 19:12:13 +0000 (+0000) Subject: Patch from dawn@burble.org to make the --silent-run do what it says, not the opposite... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d8555c4137f3560928275532269851586fd9f91;p=platform%2Fupstream%2Fllvm.git Patch from dawn@burble.org to make the --silent-run do what it says, not the opposite of what it says. llvm-svn: 222243 --- diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index a1a63cf..d23394e 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -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,