diff options
author | Pavel Labath <pavel@labath.sk> | 2020-12-17 17:10:17 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2020-12-17 17:47:53 +0100 |
commit | 122a4ebde3f4394a84e9f93b9c7085f088be6dd7 (patch) | |
tree | 0cdf9c43e826c3e4d159e06b854520d837efe9ea /lldb/source/Commands/CommandObjectRegexCommand.cpp | |
parent | f50066292477fb26806336e5604615d0eddde399 (diff) | |
download | llvm-122a4ebde3f4394a84e9f93b9c7085f088be6dd7.zip llvm-122a4ebde3f4394a84e9f93b9c7085f088be6dd7.tar.gz llvm-122a4ebde3f4394a84e9f93b9c7085f088be6dd7.tar.bz2 |
Revert "[lldb] Make CommandInterpreter's execution context the same as debugger's one."
This reverts commit a01b26fb51c710a3a8ef88cc83b0701461f5b9ab, because it
breaks the "finish" command in some way -- the command does not
terminate after it steps out, but continues running the target. The
exact blast radius is not clear, but it at least affects the usage of
the "finish" command in TestGuiBasicDebug.py. The error is *not*
gui-related, as the same issue can be reproduced by running the same
steps outside of the gui.
There is some kind of a race going on, as the test fails only 20% of the
time on the buildbot.
Diffstat (limited to 'lldb/source/Commands/CommandObjectRegexCommand.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectRegexCommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectRegexCommand.cpp b/lldb/source/Commands/CommandObjectRegexCommand.cpp index dcd05a12..1bf29d3 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); + return m_interpreter.HandleCommand( + new_command.c_str(), eLazyBoolCalculate, result, nullptr, true, true); } } result.SetStatus(eReturnStatusFailed); |