[lldb] [llgs] Refactor SendStopReplyPacketForThread for multiprocess
authorMichał Górny <mgorny@moritz.systems>
Tue, 7 Jun 2022 15:04:01 +0000 (17:04 +0200)
committerMichał Górny <mgorny@moritz.systems>
Mon, 20 Jun 2022 17:42:21 +0000 (19:42 +0200)
commitaf93f123b92eb3591d0667c24db9cd325d670912
treef60d07339f417634d23367d9ec3f002c82df358a
parentdb85345f2d9f12ce79fa868603594130f2015352
[lldb] [llgs] Refactor SendStopReplyPacketForThread for multiprocess

Refactor SendStopReplyPacketForThread() to accept process instance
as a parameter rather than use m_current_process.  This future-proofs
it for multiprocess support.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D127289
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h