[lldb] [gdb-remote server] Support selecting process via Hg
authorMichał Górny <mgorny@moritz.systems>
Sun, 11 Apr 2021 10:31:06 +0000 (12:31 +0200)
committerMichał Górny <mgorny@moritz.systems>
Fri, 2 Jul 2021 08:23:11 +0000 (10:23 +0200)
commitb7c140335beb11bcbb2abe51222d7a300cd365e5
tree8e2515cfe0653ceda033d5d51bb5dc8d28f341b1
parenta27a17f883864c1c44a0ba3fb01bbf1c89110b82
[lldb] [gdb-remote server] Support selecting process via Hg

Support using the extended thread-id syntax with Hg packet to select
a subprocess.  This makes it possible to start providing support for
running some of the debugger packets against another subprocesses.

Differential Revision: https://reviews.llvm.org/D100261
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/test/API/tools/lldb-server/TestGdbRemoteFork.py