aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-04-11 14:35:03 +0200
committerPavel Labath <pavel@labath.sk>2025-04-11 14:36:08 +0200
commit2fd860c1f559c0b0be66cc000e38270a04d0a1a3 (patch)
treed84859a651af91ae2e8ef5b73a04bed3ea0eb86a /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parente36e57b478393a1c44ba1a2e3a2cff056e208c52 (diff)
downloadllvm-2fd860c1f559c0b0be66cc000e38270a04d0a1a3.zip
llvm-2fd860c1f559c0b0be66cc000e38270a04d0a1a3.tar.gz
llvm-2fd860c1f559c0b0be66cc000e38270a04d0a1a3.tar.bz2
[lldb] ProcessGdbRemote header gardning
Remove unused headers, add used headers, remove declared-but-not-defined entities.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
index 77eadfc..12ae5ce 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -7,14 +7,7 @@
//===----------------------------------------------------------------------===//
#include "GDBRemoteCommunication.h"
-
-#include <climits>
-#include <cstring>
-#include <future>
-#include <sys/stat.h>
-
-#include "lldb/Host/Config.h"
-#include "lldb/Host/ConnectionFileDescriptor.h"
+#include "ProcessGDBRemoteLog.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
@@ -30,13 +23,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 <climits>
+#include <cstring>
+#include <future>
+#include <sys/stat.h>
#if defined(__APPLE__)
#define DEBUGSERVER_BASENAME "debugserver"