diff options
| author | Michał Górny <mgorny@moritz.systems> | 2022-06-03 20:21:26 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@moritz.systems> | 2022-06-27 17:33:59 +0200 |
| commit | b4f2d7cde54c301f591a8e2a16135bb113c5e7ed (patch) | |
| tree | 3fc5b561ff873c3a870a42c7f44360fa4ed592a3 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
| parent | 48eb2bc608e2db4258f9a5432be6458b33e8f551 (diff) | |
[lldb] [llgs] Support "t" vCont action
Implement support for the "t" action that is used to stop a thread.
Normally this action is used only in non-stop mode. However, there's
no technical reason why it couldn't be also used in all-stop mode,
e.g. to express "resume all threads except ..." (`t:...;c`).
While at it, add a more complete test for vCont correctly resuming
a subset of program's threads.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D126983
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp index 5324a2c0bf51..0fb4c691118b 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp @@ -947,7 +947,7 @@ Status NativeProcessLinux::Resume(const ResumeActionList &resume_actions) { case eStateSuspended: case eStateStopped: - llvm_unreachable("Unexpected state"); + break; default: return Status("NativeProcessLinux::%s (): unexpected state %s specified " |
