[lldb] [llgs] Fix disabling non-stop mode
authorMichał Górny <mgorny@moritz.systems>
Thu, 30 Jun 2022 08:47:15 +0000 (10:47 +0200)
committerMichał Górny <mgorny@moritz.systems>
Fri, 15 Jul 2022 18:16:49 +0000 (20:16 +0200)
commitc732afa2c2e8bf4c3d068af180c1e9daa25b03c1
treeb10f2f79cd0185b8a3d32e1727464397078121b3
parent5d6659739c4ed5f445dbdc5da499d84b5a8cebaa
[lldb] [llgs] Fix disabling non-stop mode

Stop all processes and clear notification queues when disabling non-stop
mode.  Ensure that no stop notifications are sent for processes stopped
due to the mode switch.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D128893
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
lldb/test/API/tools/lldb-server/TestNonStop.py