aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectRegexCommand.cpp
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2020-12-18 16:36:15 +0300
committerTatyana Krasnukha <tatyana@synopsys.com>2021-02-08 15:09:09 +0300
commit36de94cf54efbad967a9a0fa41329a8b59bc35c4 (patch)
tree247b40f741e8a9e43cffda9ab5b0ac595a0b130e /lldb/source/Commands/CommandObjectRegexCommand.cpp
parenta39bcbca92e169baeb8b2c55dff90141ddd53888 (diff)
downloadllvm-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/CommandObjectRegexCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectRegexCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectRegexCommand.cpp b/lldb/source/Commands/CommandObjectRegexCommand.cpp
index 1bf29d3..dcd05a12 100644
--- a/lldb/source/Commands/CommandObjectRegexCommand.cpp
+++ b/lldb/source/Commands/CommandObjectRegexCommand.cpp
@@ -53,8 +53,8 @@ bool CommandObjectRegexCommand::DoExecute(llvm::StringRef command,
// Pass in true for "no context switching". The command that called us
// should have set up the context appropriately, we shouldn't have to
// redo that.
- return m_interpreter.HandleCommand(
- new_command.c_str(), eLazyBoolCalculate, result, nullptr, true, true);
+ return m_interpreter.HandleCommand(new_command.c_str(),
+ eLazyBoolCalculate, result);
}
}
result.SetStatus(eReturnStatusFailed);