LLDB  mainline
Public Member Functions | List of all members
lldb_private::NativeRegisterContextDBReg_x86 Class Reference

#include <NativeRegisterContextDBReg_x86.h>

Inheritance diagram for lldb_private::NativeRegisterContextDBReg_x86:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::NativeRegisterContextDBReg_x86:
Collaboration graph
[legend]

Public Member Functions

 NativeRegisterContextDBReg_x86 (NativeThreadProtocol &thread)
 
Status IsWatchpointHit (uint32_t wp_index, bool &is_hit) override
 
Status GetWatchpointHitIndex (uint32_t &wp_index, lldb::addr_t trap_addr) override
 
Status IsWatchpointVacant (uint32_t wp_index, bool &is_vacant) override
 
bool ClearHardwareWatchpoint (uint32_t wp_index) override
 
Status ClearWatchpointHit (uint32_t wp_index) override
 
Status ClearAllHardwareWatchpoints () override
 
Status SetHardwareWatchpointWithIndex (lldb::addr_t addr, size_t size, uint32_t watch_flags, uint32_t wp_index)
 
uint32_t SetHardwareWatchpoint (lldb::addr_t addr, size_t size, uint32_t watch_flags) override
 
lldb::addr_t GetWatchpointAddress (uint32_t wp_index) override
 
uint32_t NumSupportedHardwareWatchpoints () override
 
const RegisterInfo * GetDR (int num) const
 
- Public Member Functions inherited from lldb_private::NativeRegisterContextRegisterInfo
 NativeRegisterContextRegisterInfo (NativeThreadProtocol &thread, RegisterInfoInterface *register_info_interface)
 Construct a NativeRegisterContextRegisterInfo, taking ownership of the register_info_interface pointer. More...
 
uint32_t GetRegisterCount () const override
 
uint32_t GetUserRegisterCount () const override
 
const RegisterInfo * GetRegisterInfoAtIndex (uint32_t reg_index) const override
 
const RegisterInfoInterfaceGetRegisterInfoInterface () const
 
- Public Member Functions inherited from lldb_private::NativeRegisterContext
 NativeRegisterContext (NativeThreadProtocol &thread)
 
virtual ~NativeRegisterContext ()
 
const char * GetRegisterSetNameForRegisterAtIndex (uint32_t reg_index) const
 
virtual uint32_t GetRegisterSetCount () const =0
 
virtual const RegisterSet * GetRegisterSet (uint32_t set_index) const =0
 
virtual Status ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value)=0
 
virtual Status WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value)=0
 
virtual Status ReadAllRegisterValues (lldb::DataBufferSP &data_sp)=0
 
virtual Status WriteAllRegisterValues (const lldb::DataBufferSP &data_sp)=0
 
uint32_t ConvertRegisterKindToRegisterNumber (uint32_t kind, uint32_t num) const
 
virtual uint32_t NumSupportedHardwareBreakpoints ()
 
virtual uint32_t SetHardwareBreakpoint (lldb::addr_t addr, size_t size)
 
virtual bool ClearHardwareBreakpoint (uint32_t hw_idx)
 
virtual Status ClearAllHardwareBreakpoints ()
 
virtual Status GetHardwareBreakHitIndex (uint32_t &bp_index, lldb::addr_t trap_addr)
 
virtual lldb::addr_t GetWatchpointHitAddress (uint32_t wp_index)
 
virtual bool HardwareSingleStep (bool enable)
 
virtual Status ReadRegisterValueFromMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t src_addr, size_t src_len, RegisterValue &reg_value)
 
virtual Status WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, size_t dst_len, const RegisterValue &reg_value)
 
virtual lldb::tid_t GetThreadID () const
 
virtual NativeThreadProtocolGetThread ()
 
virtual std::vector< uint32_tGetExpeditedRegisters (ExpeditedRegs expType) const
 
virtual bool RegisterOffsetIsDynamic () const
 
const RegisterInfo * GetRegisterInfoByName (llvm::StringRef reg_name, uint32_t start_idx=0)
 
const RegisterInfo * GetRegisterInfo (uint32_t reg_kind, uint32_t reg_num)
 
lldb::addr_t GetPC (lldb::addr_t fail_value=LLDB_INVALID_ADDRESS)
 
virtual lldb::addr_t GetPCfromBreakpointLocation (lldb::addr_t fail_value=LLDB_INVALID_ADDRESS)
 
Status SetPC (lldb::addr_t pc)
 
lldb::addr_t GetSP (lldb::addr_t fail_value=LLDB_INVALID_ADDRESS)
 
Status SetSP (lldb::addr_t sp)
 
lldb::addr_t GetFP (lldb::addr_t fail_value=LLDB_INVALID_ADDRESS)
 
Status SetFP (lldb::addr_t fp)
 
const char * GetRegisterName (uint32_t reg)
 
lldb::addr_t GetReturnAddress (lldb::addr_t fail_value=LLDB_INVALID_ADDRESS)
 
lldb::addr_t GetFlags (lldb::addr_t fail_value=0)
 
lldb::addr_t ReadRegisterAsUnsigned (uint32_t reg, lldb::addr_t fail_value)
 
lldb::addr_t ReadRegisterAsUnsigned (const RegisterInfo *reg_info, lldb::addr_t fail_value)
 
Status WriteRegisterFromUnsigned (uint32_t reg, uint64_t uval)
 
Status WriteRegisterFromUnsigned (const RegisterInfo *reg_info, uint64_t uval)
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::NativeRegisterContextRegisterInfo
std::unique_ptr< RegisterInfoInterfacem_register_info_interface_up
 
- Protected Attributes inherited from lldb_private::NativeRegisterContext
NativeThreadProtocolm_thread
 

Detailed Description

Definition at line 16 of file NativeRegisterContextDBReg_x86.h.

Constructor & Destructor Documentation

◆ NativeRegisterContextDBReg_x86()

lldb_private::NativeRegisterContextDBReg_x86::NativeRegisterContextDBReg_x86 ( NativeThreadProtocol thread)
inline

Definition at line 22 of file NativeRegisterContextDBReg_x86.h.

Member Function Documentation

◆ ClearAllHardwareWatchpoints()

Status NativeRegisterContextDBReg_x86::ClearAllHardwareWatchpoints ( )
overridevirtual

◆ ClearHardwareWatchpoint()

bool NativeRegisterContextDBReg_x86::ClearHardwareWatchpoint ( uint32_t  wp_index)
overridevirtual

◆ ClearWatchpointHit()

Status NativeRegisterContextDBReg_x86::ClearWatchpointHit ( uint32_t  wp_index)
overridevirtual

◆ GetDR()

const RegisterInfo * NativeRegisterContextDBReg_x86::GetDR ( int  num) const

◆ GetWatchpointAddress()

lldb::addr_t NativeRegisterContextDBReg_x86::GetWatchpointAddress ( uint32_t  wp_index)
overridevirtual

◆ GetWatchpointHitIndex()

Status NativeRegisterContextDBReg_x86::GetWatchpointHitIndex ( uint32_t wp_index,
lldb::addr_t  trap_addr 
)
overridevirtual

◆ IsWatchpointHit()

Status NativeRegisterContextDBReg_x86::IsWatchpointHit ( uint32_t  wp_index,
bool &  is_hit 
)
overridevirtual

◆ IsWatchpointVacant()

Status NativeRegisterContextDBReg_x86::IsWatchpointVacant ( uint32_t  wp_index,
bool &  is_vacant 
)
overridevirtual

◆ NumSupportedHardwareWatchpoints()

uint32_t NativeRegisterContextDBReg_x86::NumSupportedHardwareWatchpoints ( )
overridevirtual

◆ SetHardwareWatchpoint()

uint32_t NativeRegisterContextDBReg_x86::SetHardwareWatchpoint ( lldb::addr_t  addr,
size_t  size,
uint32_t  watch_flags 
)
overridevirtual

◆ SetHardwareWatchpointWithIndex()

Status NativeRegisterContextDBReg_x86::SetHardwareWatchpointWithIndex ( lldb::addr_t  addr,
size_t  size,
uint32_t  watch_flags,
uint32_t  wp_index 
)

The documentation for this class was generated from the following files: