diff options
author | Pavel Labath <pavel@labath.sk> | 2021-09-27 16:54:00 +0200 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2021-09-28 14:13:50 +0200 |
commit | 156cb4cc64bec2b72aad9848f8181b338ff19ebc (patch) | |
tree | 397464b60d42d795dd4125caf16455c1732b9ce3 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 6359a4cdbfb83c67a2a776baba4e3f4fb8334853 (diff) | |
download | llvm-156cb4cc64bec2b72aad9848f8181b338ff19ebc.zip llvm-156cb4cc64bec2b72aad9848f8181b338ff19ebc.tar.gz llvm-156cb4cc64bec2b72aad9848f8181b338ff19ebc.tar.bz2 |
[lldb] Remove non-stop mode code
We added some support for this mode back in 2015, but the feature was
never productionized. It is completely untested, and there are known
major structural lldb issues that need to be resolved before this
feature can really be supported.
It also complicates making further changes to stop reply packet
handling, which is what I am about to do.
Differential Revision: https://reviews.llvm.org/D110553
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 7247601..1534959 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -292,16 +292,10 @@ public: // Check if we are in Non-Stop mode TargetSP target_sp = execution_context ? execution_context->GetTargetSP() : TargetSP(); - if (target_sp && target_sp->GetNonStopModeEnabled()) { - // NonStopMode runs all threads by definition, so when it is on we don't - // need to check the process setting for runs all threads. - m_run_mode = eOnlyThisThread; - } else { - ProcessSP process_sp = - execution_context ? execution_context->GetProcessSP() : ProcessSP(); - if (process_sp && process_sp->GetSteppingRunsAllThreads()) - m_run_mode = eAllThreads; - } + ProcessSP process_sp = + execution_context ? execution_context->GetProcessSP() : ProcessSP(); + if (process_sp && process_sp->GetSteppingRunsAllThreads()) + m_run_mode = eAllThreads; m_avoid_regexp.clear(); m_step_in_target.clear(); |