From 1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sun, 13 Apr 2025 09:34:30 +0200 Subject: 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. --- .../Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 77eadfc..abdc3da 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -7,14 +7,8 @@ //===----------------------------------------------------------------------===// #include "GDBRemoteCommunication.h" - -#include -#include -#include -#include - +#include "ProcessGDBRemoteLog.h" #include "lldb/Host/Config.h" -#include "lldb/Host/ConnectionFileDescriptor.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/Host.h" #include "lldb/Host/HostInfo.h" @@ -30,13 +24,14 @@ #include "lldb/Utility/Log.h" #include "lldb/Utility/RegularExpression.h" #include "lldb/Utility/StreamString.h" -#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" #include "llvm/Config/llvm-config.h" // for LLVM_ENABLE_ZLIB #include "llvm/Support/ScopedPrinter.h" - -#include "ProcessGDBRemoteLog.h" +#include +#include +#include +#include #if defined(__APPLE__) #define DEBUGSERVER_BASENAME "debugserver" -- cgit v1.1