diff --git a/lldb/include/lldb/Interpreter/CommandInterpreter.h b/lldb/include/lldb/Interpreter/CommandInterpreter.h index 7231e21b17e9..b96d1e3ee497 100644 --- a/lldb/include/lldb/Interpreter/CommandInterpreter.h +++ b/lldb/include/lldb/Interpreter/CommandInterpreter.h @@ -120,7 +120,7 @@ public: /// and failed with some explanation if we aborted executing the commands at some point. //------------------------------------------------------------------ void - HandleCommands (StringList &commands, + HandleCommands (const StringList &commands, ExecutionContext *context, bool stop_on_continue, bool stop_on_error, diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index fbe47d2c2105..461c54383acb 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -1508,7 +1508,7 @@ CommandInterpreter::SourceInitFile (bool in_cwd, CommandReturnObject &result) } void -CommandInterpreter::HandleCommands (StringList &commands, +CommandInterpreter::HandleCommands (const StringList &commands, ExecutionContext *override_context, bool stop_on_continue, bool stop_on_error, @@ -1548,8 +1548,6 @@ CommandInterpreter::HandleCommands (StringList &commands, } CommandReturnObject tmp_result; - tmp_result.SetImmediateOutputStream (result.GetImmediateOutputStream ()); - tmp_result.SetImmediateErrorStream (result.GetImmediateErrorStream ()); bool success = HandleCommand(cmd, false, tmp_result, NULL); if (print_results)