[lldb] [client] Support for multiprocess extension
authorMichał Górny <mgorny@moritz.systems>
Fri, 12 Mar 2021 08:02:36 +0000 (09:02 +0100)
committerMichał Górny <mgorny@moritz.systems>
Thu, 8 Apr 2021 11:45:07 +0000 (13:45 +0200)
commitb601c6719226fb83c43dae62a581e5ee08bfb169
tree736e581999a45129aa4d64e307698ddfb42a4a11
parent2a1f87167cc01261e1164772ba58418fea58326b
[lldb] [client] Support for multiprocess extension

Add a minimal support for the multiprocess extension in gdb-remote
client.  It accepts PIDs as part of thread-ids, and rejects PIDs that
do not match the current inferior.

Differential Revision: https://reviews.llvm.org/D99603
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/test/API/functionalities/gdb_remote_client/TestMultiprocess.py [new file with mode: 0644]