003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
source
/
Plugins
/
Process
/
NetBSD
/
📁
..
📄
NativeProcessNetBSD.cpp
(29.62 KB)
📄
NativeProcessNetBSD.h
(3.94 KB)
📄
NativeRegisterContextNetBSD.cpp
(1.37 KB)
📄
NativeRegisterContextNetBSD.h
(1.75 KB)
📄
NativeRegisterContextNetBSD_x86_64.cpp
(43.58 KB)
📄
NativeRegisterContextNetBSD_x86_64.h
(3.23 KB)
📄
NativeThreadNetBSD.cpp
(9.05 KB)
📄
NativeThreadNetBSD.h
(2.4 KB)
Editing: NativeRegisterContextNetBSD.h
//===-- NativeRegisterContextNetBSD.h ---------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef lldb_NativeRegisterContextNetBSD_h #define lldb_NativeRegisterContextNetBSD_h #include "lldb/Host/common/NativeThreadProtocol.h" #include "Plugins/Process/Utility/NativeRegisterContextRegisterInfo.h" namespace lldb_private { namespace process_netbsd { class NativeProcessNetBSD; class NativeRegisterContextNetBSD : public NativeRegisterContextRegisterInfo { public: NativeRegisterContextNetBSD(NativeThreadProtocol &native_thread, RegisterInfoInterface *reg_info_interface_p); // This function is implemented in the NativeRegisterContextNetBSD_* // subclasses to create a new instance of the host specific // NativeRegisterContextNetBSD. The implementations can't collide as only one // NativeRegisterContextNetBSD_* variant should be compiled into the final // executable. static NativeRegisterContextNetBSD * CreateHostNativeRegisterContextNetBSD(const ArchSpec &target_arch, NativeThreadProtocol &native_thread); virtual Status CopyHardwareWatchpointsFrom(NativeRegisterContextNetBSD &source) = 0; virtual Status ClearWatchpointHit(uint32_t wp_index) = 0; protected: Status DoRegisterSet(int req, void *buf); virtual NativeProcessNetBSD &GetProcess(); virtual ::pid_t GetProcessPid(); }; } // namespace process_netbsd } // namespace lldb_private #endif // #ifndef lldb_NativeRegisterContextNetBSD_h
Upload File
Create Folder