diff options
author | Jim Ingham <jingham@apple.com> | 2014-11-18 19:12:13 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-11-18 19:12:13 +0000 |
commit | 7d8555c4137f3560928275532269851586fd9f91 (patch) | |
tree | 231bbe3b4b9e96db4a6d3225d628c9d25e868aa6 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | e1a075d5ce0bc103fd9c3d47df192de3cccad363 (diff) | |
download | llvm-7d8555c4137f3560928275532269851586fd9f91.zip llvm-7d8555c4137f3560928275532269851586fd9f91.tar.gz llvm-7d8555c4137f3560928275532269851586fd9f91.tar.bz2 |
Patch from dawn@burble.org to make the --silent-run do what it says, not the opposite of what it says.
llvm-svn: 222243
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectCommands.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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, |