File tree Expand file tree Collapse file tree 4 files changed +29
-19
lines changed
source/Plugins/Process/gdb-remote
unittests/Process/gdb-remote Expand file tree Collapse file tree 4 files changed +29
-19
lines changed Original file line number Diff line number Diff line change 10
10
#define LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_GDBREMOTECLIENTBASE_H
11
11
12
12
#include " GDBRemoteCommunication.h"
13
- #include " lldb/Utility/Broadcaster.h"
14
- #include " llvm/ADT/STLFunctionalExtras.h"
15
- #include " llvm/ADT/StringRef.h"
16
- #include < chrono>
13
+
17
14
#include < condition_variable>
18
- #include < cstdint>
19
- #include < mutex>
20
15
21
16
namespace lldb_private {
22
17
namespace process_gdb_remote {
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " GDBRemoteCommunication.h"
10
- #include " ProcessGDBRemoteLog.h"
10
+
11
+ #include < climits>
12
+ #include < cstring>
13
+ #include < future>
14
+ #include < sys/stat.h>
15
+
16
+ #include " lldb/Host/Config.h"
17
+ #include " lldb/Host/ConnectionFileDescriptor.h"
11
18
#include " lldb/Host/FileSystem.h"
12
19
#include " lldb/Host/Host.h"
13
20
#include " lldb/Host/HostInfo.h"
23
30
#include " lldb/Utility/Log.h"
24
31
#include " lldb/Utility/RegularExpression.h"
25
32
#include " lldb/Utility/StreamString.h"
33
+ #include " llvm/ADT/ArrayRef.h"
26
34
#include " llvm/ADT/SmallString.h"
27
35
#include " llvm/ADT/StringRef.h"
28
36
#include " llvm/Config/llvm-config.h" // for LLVM_ENABLE_ZLIB
29
37
#include " llvm/Support/ScopedPrinter.h"
30
- #include < climits>
31
- #include < cstring>
32
- #include < future>
33
- #include < sys/stat.h>
38
+
39
+ #include " ProcessGDBRemoteLog.h"
34
40
35
41
#if defined(__APPLE__)
36
42
#define DEBUGSERVER_BASENAME " debugserver"
Original file line number Diff line number Diff line change 11
11
12
12
#include " GDBRemoteCommunicationHistory.h"
13
13
14
+ #include < condition_variable>
14
15
#include < future>
15
16
#include < mutex>
17
+ #include < queue>
16
18
#include < string>
19
+ #include < vector>
20
+
17
21
#include " lldb/Core/Communication.h"
22
+ #include " lldb/Host/Config.h"
18
23
#include " lldb/Host/HostThread.h"
19
24
#include " lldb/Host/Socket.h"
20
25
#include " lldb/Utility/Args.h"
26
+ #include " lldb/Utility/Listener.h"
27
+ #include " lldb/Utility/Predicate.h"
21
28
#include " lldb/Utility/StringExtractorGDBRemote.h"
29
+ #include " lldb/lldb-public.h"
22
30
23
31
namespace lldb_private {
32
+ namespace repro {
33
+ class PacketRecorder ;
34
+ }
24
35
namespace process_gdb_remote {
25
36
26
37
enum GDBStoppointType {
@@ -151,6 +162,8 @@ class GDBRemoteCommunication : public Communication {
151
162
152
163
void DumpHistory (Stream &strm);
153
164
165
+ void SetPacketRecorder (repro::PacketRecorder *recorder);
166
+
154
167
static llvm::Error ConnectLocally (GDBRemoteCommunication &client,
155
168
GDBRemoteCommunication &server);
156
169
Original file line number Diff line number Diff line change 5
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
+ #include < future>
8
9
9
- #include " Plugins/Process/gdb-remote/GDBRemoteClientBase.h"
10
10
#include " GDBRemoteTestUtils.h"
11
+
11
12
#include " Plugins/Process/Utility/LinuxSignals.h"
13
+ #include " Plugins/Process/gdb-remote/GDBRemoteClientBase.h"
12
14
#include " Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h"
13
15
#include " lldb/Utility/GDBRemote.h"
14
- #include " lldb/Utility/Listener.h"
15
- #include " llvm/ADT/StringRef.h"
16
+ #include " llvm/ADT/STLExtras.h"
16
17
#include " llvm/Testing/Support/Error.h"
17
- #include " gtest/gtest.h"
18
- #include < chrono>
19
- #include < future>
20
- #include < string>
21
- #include < vector>
22
18
23
19
using namespace lldb_private ::process_gdb_remote;
24
20
using namespace lldb_private ;
You can’t perform that action at this time.
0 commit comments