1 //===-- NativeProcessNetBSD.h --------------------------------- -*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef liblldb_NativeProcessNetBSD_H_ 11 #define liblldb_NativeProcessNetBSD_H_ 12 13 // C++ Includes 14 15 // Other libraries and framework includes 16 17 #include "lldb/Core/ArchSpec.h" 18 #include "lldb/Target/MemoryRegionInfo.h" 19 #include "lldb/Utility/FileSpec.h" 20 21 #include "NativeThreadNetBSD.h" 22 #include "lldb/Host/common/NativeProcessProtocol.h" 23 24 namespace lldb_private { 25 namespace process_netbsd { 26 /// @class NativeProcessNetBSD 27 /// @brief Manages communication with the inferior (debugee) process. 28 /// 29 /// Upon construction, this class prepares and launches an inferior process for 30 /// debugging. 31 /// 32 /// Changes in the inferior process state are broadcasted. 33 class NativeProcessNetBSD : public NativeProcessProtocol { 34 friend Error NativeProcessProtocol::Launch( 35 ProcessLaunchInfo &launch_info, NativeDelegate &native_delegate, 36 MainLoop &mainloop, NativeProcessProtocolSP &process_sp); 37 38 friend Error NativeProcessProtocol::Attach( 39 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate, 40 MainLoop &mainloop, NativeProcessProtocolSP &process_sp); 41 42 private: 43 NativeProcessNetBSD(); 44 }; 45 46 } // namespace process_netbsd 47 } // namespace lldb_private 48 49 #endif // #ifndef liblldb_NativeProcessNetBSD_H_ 50