aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-04-13 09:34:30 +0200
committerPavel Labath <pavel@labath.sk>2025-04-13 09:52:30 +0200
commit1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa (patch)
tree63aef640101bc358aad77c9c1ad6bdbf6dffc5e3 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
parent028429ac452acde227ae0bfafbfe8579c127e1ea (diff)
downloadllvm-1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa.zip
llvm-1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa.tar.gz
llvm-1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa.tar.bz2
Reapply "[lldb] ProcessGdbRemote header gardning"
This reverts commit 68ab45f0533f3bbfc1c96bddd53de7e769180219, reapplying 2fd860c1f559c0b0be66cc000e38270a04d0a1a3. The only change is keeping "lldb/Host/Config.h", which I believe was the cause of the failures.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
index 107c089..3565a73 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
@@ -10,28 +10,17 @@
#define LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_GDBREMOTECOMMUNICATION_H
#include "GDBRemoteCommunicationHistory.h"
-
-#include <condition_variable>
-#include <future>
-#include <mutex>
-#include <queue>
-#include <string>
-#include <vector>
-
#include "lldb/Core/Communication.h"
#include "lldb/Host/Config.h"
#include "lldb/Host/HostThread.h"
#include "lldb/Host/Socket.h"
#include "lldb/Utility/Args.h"
-#include "lldb/Utility/Listener.h"
-#include "lldb/Utility/Predicate.h"
#include "lldb/Utility/StringExtractorGDBRemote.h"
-#include "lldb/lldb-public.h"
+#include <future>
+#include <mutex>
+#include <string>
namespace lldb_private {
-namespace repro {
-class PacketRecorder;
-}
namespace process_gdb_remote {
enum GDBStoppointType {
@@ -162,8 +151,6 @@ public:
void DumpHistory(Stream &strm);
- void SetPacketRecorder(repro::PacketRecorder *recorder);
-
static llvm::Error ConnectLocally(GDBRemoteCommunication &client,
GDBRemoteCommunication &server);