[lldb] [gdb-remote client] Support minimal fork/vfork handling
authorMichał Górny <mgorny@moritz.systems>
Fri, 9 Apr 2021 14:18:50 +0000 (16:18 +0200)
committerMichał Górny <mgorny@moritz.systems>
Mon, 30 Aug 2021 08:24:38 +0000 (10:24 +0200)
commit0a1d80d56e6a0e062d493e262d3322d2ac3a04d4
tree9b89d952e2de90f8b5f0548cc59700b041836011
parent0a6fad754ed8f0812dd57357ce8071b02e962259
[lldb] [gdb-remote client] Support minimal fork/vfork handling

Add a support for handling fork/vfork stops in LLGS client.  At this
point, it only sends a detach packet for the newly forked child
(and implicitly resumes the parent).

Differential Revision: https://reviews.llvm.org/D100206
lldb/include/lldb/Target/Process.h
lldb/include/lldb/Target/StopInfo.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
lldb/source/Target/StopInfo.cpp
lldb/test/API/functionalities/gdb_remote_client/TestFork.py [new file with mode: 0644]
lldb/test/API/functionalities/gdb_remote_client/gdbclientutils.py