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/GDBRemoteCommunication.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/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 33e041b..b0cec91 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -58,9 +58,8 @@ using namespace lldb_private; using namespace lldb_private::process_gdb_remote; // GDBRemoteCommunication constructor -GDBRemoteCommunication::GDBRemoteCommunication(const char *comm_name, - const char *listener_name) - : Communication(), Broadcaster(nullptr, comm_name), +GDBRemoteCommunication::GDBRemoteCommunication() + : Communication(), #ifdef LLDB_CONFIGURATION_DEBUG m_packet_timeout(1000), #else |