[Lldb-commits] [PATCH] D127500: [lldb] [llgs] Make `k` kill all processes, and fix multiple exits

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 23 09:25:32 PDT 2022


mgorny updated this revision to Diff 439433.
mgorny edited the summary of this revision.
mgorny added a comment.

Remove the extra check from `StopSTDIOForwarding()` — we currently don't have to account for multiple processes actually running simultaneously (only the weird Linux `PTRACE_EVENT_EXIT` handling), so we can just stop it when the first of killed processes exits.


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

https://reviews.llvm.org/D127500

Files:
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127500.439433.patch
Type: text/x-patch
Size: 7219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220623/5c70a2ac/attachment.bin>


More information about the lldb-commits mailing list