9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWIN_ARM_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWIN_ARM_H
16#define BCR_M_IMVA_MATCH ((uint32_t)(0u << 21))
17#define BCR_M_CONTEXT_ID_MATCH ((uint32_t)(1u << 21))
18#define BCR_M_IMVA_MISMATCH ((uint32_t)(2u << 21))
19#define BCR_M_RESERVED ((uint32_t)(3u << 21))
22#define E_ENABLE_LINKING ((uint32_t)(1u << 20))
25#define BAS_IMVA_PLUS_0 ((uint32_t)(1u << 5))
26#define BAS_IMVA_PLUS_1 ((uint32_t)(1u << 6))
27#define BAS_IMVA_PLUS_2 ((uint32_t)(1u << 7))
28#define BAS_IMVA_PLUS_3 ((uint32_t)(1u << 8))
29#define BAS_IMVA_0_1 ((uint32_t)(3u << 5))
30#define BAS_IMVA_2_3 ((uint32_t)(3u << 7))
31#define BAS_IMVA_ALL ((uint32_t)(0xfu << 5))
34#define S_RSVD ((uint32_t)(0u << 1))
35#define S_PRIV ((uint32_t)(1u << 1))
36#define S_USER ((uint32_t)(2u << 1))
37#define S_PRIV_USER ((S_PRIV) | (S_USER))
39#define BCR_ENABLE ((uint32_t)(1u))
40#define WCR_ENABLE ((uint32_t)(1u))
43#define WCR_LOAD ((uint32_t)(1u << 3))
44#define WCR_STORE ((uint32_t)(1u << 4))
49 uint32_t concrete_frame_idx);
74 uint32_t num)
override;
190 bool SetError(
int flavor, uint32_t err_idx,
int err) {
uint32_t NumSupportedHardwareBreakpoints() override
static uint32_t GetRegisterNumber(uint32_t reg_kind, uint32_t reg_num)
bool ClearHardwareBreakpoint(uint32_t hw_idx) override
int WriteRegisterSet(uint32_t set)
uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size, bool read, bool write) override
uint32_t SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override
const lldb_private::RegisterInfo * GetRegisterInfoAtIndex(size_t reg) override
void InvalidateAllRegisterStates()
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue ®_value) override
static size_t GetRegisterInfosCount()
static const lldb_private::RegisterInfo * GetRegisterInfos()
~RegisterContextDarwin_arm() override
size_t GetRegisterCount() override
virtual int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg)=0
bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) override
void InvalidateAllRegisters() override
virtual int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc)=0
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue ®_value) override
bool RegisterSetIsCached(int set) const
uint32_t NumSupportedHardwareWatchpoints() override
int ReadRegisterSet(uint32_t set, bool force)
const lldb_private::RegisterSet * GetRegisterSet(size_t set) override
bool ClearHardwareWatchpoint(uint32_t hw_index) override
virtual int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg)=0
virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr)=0
int GetError(int flavor, uint32_t err_idx) const
size_t GetRegisterSetCount() override
bool SetError(int flavor, uint32_t err_idx, int err)
virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr)
virtual int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu)=0
virtual int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu)=0
static int GetSetForNativeRegNum(int reg_num)
virtual int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc)=0
static void LogDBGRegisters(lldb_private::Log *log, const DBG &dbg)
uint32_t ConvertRegisterKindToRegisterNumber(lldb::RegisterKind kind, uint32_t num) override
Convert from a given register numbering scheme to the lldb register numbering scheme.
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP
RegisterKind
Register numbering types.
union RegisterContextDarwin_arm::FPU::@117 floats
Every register is described in detail including its name, alternate name (optional),...
Registers are grouped into register sets.