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