================
@@ -10,20 +10,37 @@
#define
LLDB_TOOLS_LLDB_SERVER_PLUGINS_ACCELERATOR_MOCK_LLDBSERVERMOCKACCELERATORPLUGIN_H
#include "Plugins/Process/gdb-remote/LLDBServerAcceleratorPlugin.h"
+#include "lldb/Host/MainLoopBase.h"
+#include "lldb/Host/common/NativeProcessProtocol.h"
+
+#include <memory>
+#include <vector>
namespace lldb_private {
+
+class TCPSocket;
+
+namespace process_gdb_remote {
+class GDBRemoteCommunicationServerLLGS;
+} // namespace process_gdb_remote
+
----------------
clayborg wrote:
Remove this and see how llvm-server-plugin branch does this in
LLDBServerPlugin.h:
```
class LLDBServerPlugin {
protected:
// Add a version field to allow the APIs to change over time.
using GDBServer = process_gdb_remote::GDBRemoteCommunicationServerLLGS;
using Manager = NativeProcessProtocol::Manager;
GDBServer &m_native_process;
MainLoop &m_main_loop;
std::unique_ptr<Manager> m_process_manager_up;
std::unique_ptr<GDBServer> m_gdb_server;
bool m_is_listening = false;
bool m_is_connected = false;
uint32_t m_gpu_action_identifier = 0;
```
https://github.com/llvm/llvm-project/pull/201449
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits