[Lldb-commits] [PATCH] D128932: [lldb] [llgs] Improve stdio forwarding in multiprocess+nonstop

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 6 07:10:06 PDT 2022


labath added inline comments.


================
Comment at: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:1110
     // does not interfere with our protocol.
-    StopSTDIOForwarding();
+    if (!m_non_stop)
+      StopSTDIOForwarding();
----------------
mgorny wrote:
> labath wrote:
> > In the multiprocess all-stop mode, if one process stops, we are supposed to stop all of them, right? I take it that's not something we do right now, is it?
> We don't support resuming multiple processes in all-stop mode. `vCont` returns an error if you try to do that, and other continue packets are blocking, so it can't happen ;-).
ok, got it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128932/new/

https://reviews.llvm.org/D128932



More information about the lldb-commits mailing list