LLDB mainline
RegisterContextFreeBSDKernelCore_x86_64.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNELCORE_X86_64_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNELCORE_X86_64_H
11
14
17public:
21 lldb::addr_t pcb_addr);
22
23 bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
24 lldb_private::RegisterValue &value) override;
25
26 bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
27 const lldb_private::RegisterValue &value) override;
28
29protected:
30 bool ReadGPR() override;
31
32 bool ReadFPR() override;
33
34 bool WriteGPR() override;
35
36 bool WriteFPR() override;
37
38private:
40};
41
42#endif // LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNELCORE_X86_64_H
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
RegisterContextFreeBSDKernelCore_x86_64(lldb_private::Thread &thread, lldb_private::RegisterInfoInterface *register_info, lldb::addr_t pcb_addr)
RegisterContextPOSIX_x86(lldb_private::Thread &thread, uint32_t concrete_frame_idx, lldb_private::RegisterInfoInterface *register_info)
RegisterInfo interface to patch RegisterInfo structure for archs.
uint64_t addr_t
Definition lldb-types.h:80
Every register is described in detail including its name, alternate name (optional),...