LLDB  mainline
RegisterContextFreeBSDKernel_i386.h
Go to the documentation of this file.
1 //===-- RegisterContextFreeBSDKernel_i386.h ---------------------*- C++ -*-===//
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_REGISTERCONTEXTFREEBSDKERNEL_I386_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNEL_I386_H
11 
14 
16 public:
18  lldb_private::Thread &thread,
20  lldb::addr_t pcb_addr);
21 
22  bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
23  lldb_private::RegisterValue &value) override;
24 
25  bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
26  const lldb_private::RegisterValue &value) override;
27 
28 protected:
29  bool ReadGPR() override;
30 
31  bool ReadFPR() override;
32 
33  bool WriteGPR() override;
34 
35  bool WriteFPR() override;
36 
37 private:
39 };
40 
41 #endif // LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNEL_I386_H
lldb_private::RegisterValue
Definition: RegisterValue.h:28
RegisterContextFreeBSDKernel_i386::ReadRegister
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
Definition: RegisterContextFreeBSDKernel_i386.cpp:38
lldb_private::RegisterInfoInterface
Definition: RegisterInfoInterface.h:21
RegisterContextFreeBSDKernel_i386::WriteGPR
bool WriteGPR() override
Definition: RegisterContextFreeBSDKernel_i386.cpp:28
RegisterUtilities.h
lldb::addr_t
uint64_t addr_t
Definition: lldb-types.h:83
RegisterContextPOSIX_x86.h
lldb_private::Thread
Definition: Thread.h:61
RegisterContextFreeBSDKernel_i386::WriteRegister
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
Definition: RegisterContextFreeBSDKernel_i386.cpp:80
RegisterContextFreeBSDKernel_i386::RegisterContextFreeBSDKernel_i386
RegisterContextFreeBSDKernel_i386(lldb_private::Thread &thread, lldb_private::RegisterInfoInterface *register_info, lldb::addr_t pcb_addr)
Definition: RegisterContextFreeBSDKernel_i386.cpp:19
RegisterContextFreeBSDKernel_i386::ReadFPR
bool ReadFPR() override
Definition: RegisterContextFreeBSDKernel_i386.cpp:26
RegisterContextFreeBSDKernel_i386::WriteFPR
bool WriteFPR() override
Definition: RegisterContextFreeBSDKernel_i386.cpp:33
RegisterContextPOSIX_x86
Definition: RegisterContextPOSIX_x86.h:18
RegisterContextFreeBSDKernel_i386::m_pcb_addr
lldb::addr_t m_pcb_addr
Definition: RegisterContextFreeBSDKernel_i386.h:38
RegisterContextFreeBSDKernel_i386
Definition: RegisterContextFreeBSDKernel_i386.h:15
RegisterContextFreeBSDKernel_i386::ReadGPR
bool ReadGPR() override
Definition: RegisterContextFreeBSDKernel_i386.cpp:24