diff options
author | Michał Górny <mgorny@moritz.systems> | 2022-09-07 17:13:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2022-09-09 17:13:08 +0200 |
commit | bdb4468d39496088fc05d8c5575647fac9c8062a (patch) | |
tree | c61c96872cf6375386f68e5fdc0e752037128e0f /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 28bd7945eabdbde2b1fc071ab2f9b78e6e754a1a (diff) | |
download | llvm-bdb4468d39496088fc05d8c5575647fac9c8062a.zip llvm-bdb4468d39496088fc05d8c5575647fac9c8062a.tar.gz llvm-bdb4468d39496088fc05d8c5575647fac9c8062a.tar.bz2 |
[gdb-remote] Move broadcasting logic down to GDBRemoteClientBase
Move the broadcasting support from GDBRemoteCommunication
to GDBRemoteClientBase since this is where it is actually used. Remove
GDBRemoteCommunication and subclass constructor arguments left over
after Communication cleanup.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D133427
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index c0765dc..2987ba5 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1168,7 +1168,7 @@ Status ProcessGDBRemote::DoResume() { ListenerSP listener_sp( Listener::MakeListener("gdb-remote.resume-packet-sent")); if (listener_sp->StartListeningForEvents( - &m_gdb_comm, GDBRemoteCommunication::eBroadcastBitRunPacketSent)) { + &m_gdb_comm, GDBRemoteClientBase::eBroadcastBitRunPacketSent)) { listener_sp->StartListeningForEvents( &m_async_broadcaster, ProcessGDBRemote::eBroadcastBitAsyncThreadDidExit); |