[NFC] Move dumping into GDBRemotePacket
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 16 Sep 2019 20:02:57 +0000 (20:02 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 16 Sep 2019 20:02:57 +0000 (20:02 +0000)
commit4e053ff1d188bae61f6f7d20c591a462b32a9992
tree3a2841efa6c6e99971ba852ad55a19d9ca6f7f2d
parenta7e9059967c4bff83ae6c3b595828bbbc8aaf82e
[NFC] Move dumping into GDBRemotePacket

This moves the dumping logic from the GDBRemoteCommunicationHistory
class into the GDBRemotePacket so that it can be reused from the
reproducer command object.

llvm-svn: 372028
lldb/include/lldb/Utility/GDBRemote.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
lldb/source/Utility/GDBRemote.cpp