diff options
author | Michał Górny <mgorny@moritz.systems> | 2022-06-07 17:04:01 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2022-06-20 19:42:21 +0200 |
commit | af93f123b92eb3591d0667c24db9cd325d670912 (patch) | |
tree | f60d07339f417634d23367d9ec3f002c82df358a /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h | |
parent | db85345f2d9f12ce79fa868603594130f2015352 (diff) | |
download | llvm-af93f123b92eb3591d0667c24db9cd325d670912.zip llvm-af93f123b92eb3591d0667c24db9cd325d670912.tar.gz llvm-af93f123b92eb3591d0667c24db9cd325d670912.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h index 5f7944b..8c6d9ad 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h @@ -113,7 +113,8 @@ protected: PacketResult SendWResponse(NativeProcessProtocol *process); - PacketResult SendStopReplyPacketForThread(lldb::tid_t tid); + PacketResult SendStopReplyPacketForThread(NativeProcessProtocol &process, + lldb::tid_t tid); PacketResult SendStopReasonForState(lldb::StateType process_state); |