aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-01 18:59:28 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-03 18:42:49 +0200
commitb6c24c161900a035f5ea7193f4816b6d192d6ac8 (patch)
tree0a6d57d2e3fc74f949f471e228dec2abb61a4e60 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
parent9181673bef5e1b27c8b53c950c4fcd6196f4076a (diff)
downloadllvm-b6c24c161900a035f5ea7193f4816b6d192d6ac8.zip
llvm-b6c24c161900a035f5ea7193f4816b6d192d6ac8.tar.gz
llvm-b6c24c161900a035f5ea7193f4816b6d192d6ac8.tar.bz2
[lldb] [gdb-remote] Move ReadPacketWithOutputSupport() to client
Move ReadPacketWithOutputSupport() from GDBRemoteCommunication to GDBRemoteClientBase. This function is client-specific and moving it there simplifies followup patches that split communication into separate thread. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D135028
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
index 9e17d6c..4e59bd5 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
@@ -190,11 +190,6 @@ protected:
PacketResult ReadPacket(StringExtractorGDBRemote &response,
Timeout<std::micro> timeout, bool sync_on_timeout);
- PacketResult ReadPacketWithOutputSupport(
- StringExtractorGDBRemote &response, Timeout<std::micro> timeout,
- bool sync_on_timeout,
- llvm::function_ref<void(llvm::StringRef)> output_callback);
-
PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response,
Timeout<std::micro> timeout,
bool sync_on_timeout);