[Lldb-commits] [PATCH] D100191: [lldb] [llgs] Support owning and detaching extra processes
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 9 06:27:15 PDT 2021
mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
mgorny requested review of this revision.
Add a NativeDelegate API to pass new processes (forks) to LLGS,
and support detaching them via the 'D' packet. A 'D' packet without
a specific PID detaches all processes, otherwise it detaches either
the specified subprocess or the main process, depending on the passed
PID. However, the main process can only be detached if all subprocesses
were detached as well.
https://reviews.llvm.org/D100191
Files:
lldb/include/lldb/Host/common/NativeProcessProtocol.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100191.336433.patch
Type: text/x-patch
Size: 5459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210409/6e32eb5c/attachment.bin>
More information about the lldb-commits
mailing list