diff options
author | Tatyana Krasnukha <tatyana@synopsys.com> | 2020-12-18 16:36:15 +0300 |
---|---|---|
committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2021-02-08 15:09:09 +0300 |
commit | 36de94cf54efbad967a9a0fa41329a8b59bc35c4 (patch) | |
tree | 247b40f741e8a9e43cffda9ab5b0ac595a0b130e /lldb/source/Commands/CommandObjectSettings.cpp | |
parent | a39bcbca92e169baeb8b2c55dff90141ddd53888 (diff) | |
download | llvm-36de94cf54efbad967a9a0fa41329a8b59bc35c4.zip llvm-36de94cf54efbad967a9a0fa41329a8b59bc35c4.tar.gz llvm-36de94cf54efbad967a9a0fa41329a8b59bc35c4.tar.bz2 |
Reland "[lldb] Make CommandInterpreter's execution context the same as debugger's one"
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSettings.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp index 87e0352..d869377 100644 --- a/lldb/source/Commands/CommandObjectSettings.cpp +++ b/lldb/source/Commands/CommandObjectSettings.cpp @@ -469,14 +469,13 @@ protected: bool DoExecute(Args &command, CommandReturnObject &result) override { FileSpec file(m_options.m_filename); FileSystem::Instance().Resolve(file); - ExecutionContext clean_ctx; CommandInterpreterRunOptions options; options.SetAddToHistory(false); options.SetEchoCommands(false); options.SetPrintResults(true); options.SetPrintErrors(true); options.SetStopOnError(false); - m_interpreter.HandleCommandsFromFile(file, &clean_ctx, options, result); + m_interpreter.HandleCommandsFromFile(file, options, result); return result.Succeeded(); } |