[lldb] [gdb-remote] Move ReadPacketWithOutputSupport() to client
authorMichał Górny <mgorny@gentoo.org>
Sat, 1 Oct 2022 16:59:28 +0000 (18:59 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 3 Oct 2022 16:42:49 +0000 (18:42 +0200)
commitb6c24c161900a035f5ea7193f4816b6d192d6ac8
tree0a6d57d2e3fc74f949f471e228dec2abb61a4e60
parent9181673bef5e1b27c8b53c950c4fcd6196f4076a
[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
lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h