LLDB mainline
|
#include <RegisterContextDarwin_arm.h>
Classes | |
struct | DBG |
struct | EXC |
struct | FPU |
struct | GPR |
struct | QReg |
Public Member Functions | |
RegisterContextDarwin_arm (lldb_private::Thread &thread, uint32_t concrete_frame_idx) | |
~RegisterContextDarwin_arm () override | |
void | InvalidateAllRegisters () override |
size_t | GetRegisterCount () override |
const lldb_private::RegisterInfo * | GetRegisterInfoAtIndex (size_t reg) override |
size_t | GetRegisterSetCount () override |
const lldb_private::RegisterSet * | GetRegisterSet (size_t set) override |
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 |
bool | ReadAllRegisterValues (lldb::WritableDataBufferSP &data_sp) override |
bool | WriteAllRegisterValues (const lldb::DataBufferSP &data_sp) override |
uint32_t | ConvertRegisterKindToRegisterNumber (lldb::RegisterKind kind, uint32_t num) override |
Convert from a given register numbering scheme to the lldb register numbering scheme. | |
uint32_t | NumSupportedHardwareBreakpoints () override |
uint32_t | SetHardwareBreakpoint (lldb::addr_t addr, size_t size) override |
bool | ClearHardwareBreakpoint (uint32_t hw_idx) override |
uint32_t | NumSupportedHardwareWatchpoints () override |
uint32_t | SetHardwareWatchpoint (lldb::addr_t addr, size_t size, bool read, bool write) override |
bool | ClearHardwareWatchpoint (uint32_t hw_index) override |
Public Member Functions inherited from lldb_private::RegisterContext | |
RegisterContext (Thread &thread, uint32_t concrete_frame_idx) | |
~RegisterContext () override | |
void | InvalidateIfNeeded (bool force) |
virtual void | InvalidateAllRegisters ()=0 |
virtual size_t | GetRegisterCount ()=0 |
virtual const RegisterInfo * | GetRegisterInfoAtIndex (size_t reg)=0 |
virtual size_t | GetRegisterSetCount ()=0 |
virtual const RegisterSet * | GetRegisterSet (size_t reg_set)=0 |
virtual lldb::ByteOrder | GetByteOrder () |
virtual bool | ReadRegister (const RegisterInfo *reg_info, RegisterValue ®_value)=0 |
virtual bool | WriteRegister (const RegisterInfo *reg_info, const RegisterValue ®_value)=0 |
virtual bool | ReadAllRegisterValues (lldb::WritableDataBufferSP &data_sp) |
virtual bool | WriteAllRegisterValues (const lldb::DataBufferSP &data_sp) |
virtual bool | RegisterWriteCausesReconfigure (const llvm::StringRef name) |
virtual bool | ReconfigureRegisterInfo () |
virtual bool | ReadAllRegisterValues (lldb_private::RegisterCheckpoint ®_checkpoint) |
virtual bool | WriteAllRegisterValues (const lldb_private::RegisterCheckpoint ®_checkpoint) |
bool | CopyFromRegisterContext (lldb::RegisterContextSP context) |
virtual uint32_t | ConvertRegisterKindToRegisterNumber (lldb::RegisterKind kind, uint32_t num) |
Convert from a given register numbering scheme to the lldb register numbering scheme. | |
virtual uint32_t | NumSupportedHardwareBreakpoints () |
virtual uint32_t | SetHardwareBreakpoint (lldb::addr_t addr, size_t size) |
virtual bool | ClearHardwareBreakpoint (uint32_t hw_idx) |
virtual uint32_t | NumSupportedHardwareWatchpoints () |
virtual uint32_t | SetHardwareWatchpoint (lldb::addr_t addr, size_t size, bool read, bool write) |
virtual bool | ClearHardwareWatchpoint (uint32_t hw_index) |
virtual bool | HardwareSingleStep (bool enable) |
virtual Status | ReadRegisterValueFromMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue ®_value) |
virtual Status | WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue ®_value) |
virtual lldb::tid_t | GetThreadID () const |
virtual Thread & | GetThread () |
const RegisterInfo * | GetRegisterInfoByName (llvm::StringRef reg_name, uint32_t start_idx=0) |
const RegisterInfo * | GetRegisterInfo (lldb::RegisterKind reg_kind, uint32_t reg_num) |
uint64_t | GetPC (uint64_t fail_value=LLDB_INVALID_ADDRESS) |
uint64_t | GetThreadPointer (uint64_t fail_value=LLDB_INVALID_ADDRESS) |
bool | GetPCForSymbolication (Address &address) |
Get an address suitable for symbolication. | |
bool | SetPC (uint64_t pc) |
bool | SetPC (Address addr) |
uint64_t | GetSP (uint64_t fail_value=LLDB_INVALID_ADDRESS) |
bool | SetSP (uint64_t sp) |
uint64_t | GetFP (uint64_t fail_value=LLDB_INVALID_ADDRESS) |
bool | SetFP (uint64_t fp) |
const char * | GetRegisterName (uint32_t reg) |
uint64_t | GetReturnAddress (uint64_t fail_value=LLDB_INVALID_ADDRESS) |
uint64_t | GetFlags (uint64_t fail_value=0) |
uint64_t | ReadRegisterAsUnsigned (uint32_t reg, uint64_t fail_value) |
uint64_t | ReadRegisterAsUnsigned (const RegisterInfo *reg_info, uint64_t fail_value) |
bool | WriteRegisterFromUnsigned (uint32_t reg, uint64_t uval) |
bool | WriteRegisterFromUnsigned (const RegisterInfo *reg_info, uint64_t uval) |
bool | ConvertBetweenRegisterKinds (lldb::RegisterKind source_rk, uint32_t source_regnum, lldb::RegisterKind target_rk, uint32_t &target_regnum) |
lldb::TargetSP | CalculateTarget () override |
lldb::ProcessSP | CalculateProcess () override |
lldb::ThreadSP | CalculateThread () override |
lldb::StackFrameSP | CalculateStackFrame () override |
void | CalculateExecutionContext (ExecutionContext &exe_ctx) override |
Reconstruct the object's execution context into sc. | |
uint32_t | GetStopID () const |
void | SetStopID (uint32_t stop_id) |
Public Member Functions inherited from lldb_private::ExecutionContextScope | |
virtual | ~ExecutionContextScope ()=default |
virtual lldb::TargetSP | CalculateTarget ()=0 |
virtual lldb::ProcessSP | CalculateProcess ()=0 |
virtual lldb::ThreadSP | CalculateThread ()=0 |
virtual lldb::StackFrameSP | CalculateStackFrame ()=0 |
virtual void | CalculateExecutionContext (ExecutionContext &exe_ctx)=0 |
Reconstruct the object's execution context into sc. | |
Static Public Member Functions | |
static void | LogDBGRegisters (lldb_private::Log *log, const DBG &dbg) |
Protected Types | |
enum | { GPRRegSet = 1 , GPRAltRegSet = 9 , FPURegSet = 2 , EXCRegSet = 3 , DBGRegSet = 4 } |
enum | { GPRWordCount = sizeof(GPR) / sizeof(uint32_t) , FPUWordCount = sizeof(FPU) / sizeof(uint32_t) , EXCWordCount = sizeof(EXC) / sizeof(uint32_t) , DBGWordCount = sizeof(DBG) / sizeof(uint32_t) } |
enum | { Read = 0 , Write = 1 , kNumErrors = 2 } |
Protected Member Functions | |
void | InvalidateAllRegisterStates () |
int | GetError (int flavor, uint32_t err_idx) const |
bool | SetError (int flavor, uint32_t err_idx, int err) |
bool | RegisterSetIsCached (int set) const |
int | ReadGPR (bool force) |
int | ReadFPU (bool force) |
int | ReadEXC (bool force) |
int | ReadDBG (bool force) |
int | WriteGPR () |
int | WriteFPU () |
int | WriteEXC () |
int | WriteDBG () |
virtual int | DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) |
virtual int | DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu)=0 |
virtual int | DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc)=0 |
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 |
virtual int | DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu)=0 |
virtual int | DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc)=0 |
virtual int | DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg)=0 |
int | ReadRegisterSet (uint32_t set, bool force) |
int | WriteRegisterSet (uint32_t set) |
Protected Member Functions inherited from lldb_private::RegisterContext | |
virtual bool | BehavesLikeZerothFrame () const |
Indicates that this frame is currently executing code, that the PC value is not a return-pc but an actual executing instruction. | |
Static Protected Member Functions | |
static uint32_t | GetRegisterNumber (uint32_t reg_kind, uint32_t reg_num) |
static int | GetSetForNativeRegNum (int reg_num) |
static size_t | GetRegisterInfosCount () |
static const lldb_private::RegisterInfo * | GetRegisterInfos () |
Protected Attributes | |
GPR | gpr |
FPU | fpu |
EXC | exc |
DBG | dbg |
int | gpr_errs [2] |
int | fpu_errs [2] |
int | exc_errs [2] |
int | dbg_errs [2] |
Protected Attributes inherited from lldb_private::RegisterContext | |
Thread & | m_thread |
uint32_t | m_concrete_frame_idx |
uint32_t | m_stop_id |
Definition at line 46 of file RegisterContextDarwin_arm.h.
|
protected |
Enumerator | |
---|---|
GPRRegSet | |
GPRAltRegSet | |
FPURegSet | |
EXCRegSet | |
DBGRegSet |
Definition at line 138 of file RegisterContextDarwin_arm.h.
|
protected |
Enumerator | |
---|---|
GPRWordCount | |
FPUWordCount | |
EXCWordCount | |
DBGWordCount |
Definition at line 146 of file RegisterContextDarwin_arm.h.
|
protected |
Enumerator | |
---|---|
Read | |
Write | |
kNumErrors |
Definition at line 153 of file RegisterContextDarwin_arm.h.
RegisterContextDarwin_arm::RegisterContextDarwin_arm | ( | lldb_private::Thread & | thread, |
uint32_t | concrete_frame_idx | ||
) |
Definition at line 914 of file RegisterContextDarwin_arm.cpp.
References exc_errs, fpu_errs, gpr_errs, and kNumErrors.
|
overridedefault |
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1602 of file RegisterContextDarwin_arm.cpp.
References RegisterContextDarwin_arm::DBG::bcr, dbg, KERN_SUCCESS, NumSupportedHardwareBreakpoints(), ReadDBG(), and WriteDBG().
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1722 of file RegisterContextDarwin_arm.cpp.
References dbg, KERN_SUCCESS, NumSupportedHardwareWatchpoints(), ReadDBG(), RegisterContextDarwin_arm::DBG::wcr, and WriteDBG().
|
overridevirtual |
Convert from a given register numbering scheme to the lldb register numbering scheme.
There may be multiple ways to enumerate the registers for a given architecture. ABI references will specify one to be used with DWARF, the register numberings from process plugin, there may be a variation used for eh_frame unwind instructions (e.g. on Darwin), and so on. Register 5 by itself is meaningless - RegisterKind enumeration tells you what context that number should be translated as.
Inside lldb, register numbers are in the eRegisterKindLLDB scheme; arguments which take a register number should take one in that scheme.
eRegisterKindGeneric is a special numbering scheme which gives us constant values for the pc, frame register, stack register, etc., for use within lldb. They may not be defined for all architectures but it allows generic code to translate these common registers into the lldb numbering scheme.
This method translates a given register kind + register number into the eRegisterKindLLDB register numbering.
[in] | kind | The register numbering scheme (RegisterKind) that the following register number is in. |
[in] | num | A register number in the 'kind' register numbering scheme. |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1332 of file RegisterContextDarwin_arm.cpp.
References dwarf_lr, dwarf_pc, dwarf_r0, dwarf_r1, dwarf_r10, dwarf_r11, dwarf_r12, dwarf_r2, dwarf_r3, dwarf_r4, dwarf_r5, dwarf_r6, dwarf_r7, dwarf_r8, dwarf_r9, dwarf_s0, dwarf_s1, dwarf_s10, dwarf_s11, dwarf_s12, dwarf_s13, dwarf_s14, dwarf_s15, dwarf_s16, dwarf_s17, dwarf_s18, dwarf_s19, dwarf_s2, dwarf_s20, dwarf_s21, dwarf_s22, dwarf_s23, dwarf_s24, dwarf_s25, dwarf_s26, dwarf_s27, dwarf_s28, dwarf_s29, dwarf_s3, dwarf_s30, dwarf_s31, dwarf_s4, dwarf_s5, dwarf_s6, dwarf_s7, dwarf_s8, dwarf_s9, dwarf_sp, dwarf_spsr, ehframe_cpsr, ehframe_lr, ehframe_pc, ehframe_r0, ehframe_r1, ehframe_r10, ehframe_r11, ehframe_r12, ehframe_r2, ehframe_r3, ehframe_r4, ehframe_r5, ehframe_r6, ehframe_r7, ehframe_r8, ehframe_r9, ehframe_sp, lldb::eRegisterKindDWARF, lldb::eRegisterKindEHFrame, lldb::eRegisterKindGeneric, lldb::eRegisterKindLLDB, fpu_s0, fpu_s1, fpu_s10, fpu_s11, fpu_s12, fpu_s13, fpu_s14, fpu_s15, fpu_s16, fpu_s17, fpu_s18, fpu_s19, fpu_s2, fpu_s20, fpu_s21, fpu_s22, fpu_s23, fpu_s24, fpu_s25, fpu_s26, fpu_s27, fpu_s28, fpu_s29, fpu_s3, fpu_s30, fpu_s31, fpu_s4, fpu_s5, fpu_s6, fpu_s7, fpu_s8, fpu_s9, gpr_cpsr, gpr_lr, gpr_pc, gpr_r0, gpr_r1, gpr_r10, gpr_r11, gpr_r12, gpr_r2, gpr_r3, gpr_r4, gpr_r5, gpr_r6, gpr_r7, gpr_r8, gpr_r9, gpr_sp, LLDB_INVALID_REGNUM, LLDB_REGNUM_GENERIC_FLAGS, LLDB_REGNUM_GENERIC_FP, LLDB_REGNUM_GENERIC_PC, LLDB_REGNUM_GENERIC_RA, and LLDB_REGNUM_GENERIC_SP.
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by ReadDBG().
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by ReadEXC().
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by ReadFPU().
|
inlineprotectedvirtual |
Reimplemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Definition at line 235 of file RegisterContextDarwin_arm.h.
Referenced by ReadGPR().
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by WriteDBG().
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by WriteEXC().
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by WriteFPU().
|
protectedpure virtual |
Implemented in RegisterContextDarwin_arm_Mach, RegisterContextKDP_arm, and RegisterContextMach_arm.
Referenced by WriteGPR().
|
inlineprotected |
Definition at line 170 of file RegisterContextDarwin_arm.h.
References dbg_errs, DBGRegSet, exc_errs, EXCRegSet, fpu_errs, FPURegSet, gpr_errs, GPRRegSet, and kNumErrors.
Referenced by ReadDBG(), ReadEXC(), ReadFPU(), ReadGPR(), RegisterSetIsCached(), WriteDBG(), WriteEXC(), WriteFPU(), and WriteGPR().
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 931 of file RegisterContextDarwin_arm.cpp.
References k_num_register_infos, and k_num_registers.
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 937 of file RegisterContextDarwin_arm.cpp.
References g_register_infos, k_num_register_infos, and k_num_registers.
|
staticprotected |
Definition at line 948 of file RegisterContextDarwin_arm.cpp.
References g_register_infos.
|
staticprotected |
Definition at line 944 of file RegisterContextDarwin_arm.cpp.
References k_num_register_infos.
|
staticprotected |
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 973 of file RegisterContextDarwin_arm.cpp.
References g_reg_sets, and k_num_regsets.
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 969 of file RegisterContextDarwin_arm.cpp.
References k_num_regsets.
|
staticprotected |
Definition at line 980 of file RegisterContextDarwin_arm.cpp.
References exc_exception, EXCRegSet, fpu_s0, FPURegSet, GPRRegSet, and k_num_registers.
Referenced by ReadRegister(), and WriteRegister().
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 927 of file RegisterContextDarwin_arm.cpp.
References InvalidateAllRegisterStates().
|
inlineprotected |
Definition at line 164 of file RegisterContextDarwin_arm.h.
References EXCRegSet, FPURegSet, GPRRegSet, Read, and SetError().
Referenced by InvalidateAllRegisters().
|
static |
Definition at line 1105 of file RegisterContextDarwin_arm.cpp.
References RegisterContextDarwin_arm::DBG::bcr, RegisterContextDarwin_arm::DBG::bvr, dbg, LLDB_LOGF, RegisterContextDarwin_arm::DBG::wcr, and RegisterContextDarwin_arm::DBG::wvr.
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1497 of file RegisterContextDarwin_arm.cpp.
References lldb_private::Bits32(), and UINT32_MAX.
Referenced by ClearHardwareBreakpoint(), and SetHardwareBreakpoint().
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1627 of file RegisterContextDarwin_arm.cpp.
References lldb_private::Bits32(), and UINT32_MAX.
Referenced by ClearHardwareWatchpoint(), and SetHardwareWatchpoint().
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1291 of file RegisterContextDarwin_arm.cpp.
References exc, fpu, gpr, KERN_SUCCESS, ReadEXC(), ReadFPU(), ReadGPR(), and REG_CONTEXT_SIZE.
|
protected |
Definition at line 1014 of file RegisterContextDarwin_arm.cpp.
References dbg, DBGRegSet, DoReadDBG(), GetError(), lldb_private::RegisterContext::GetThreadID(), Read, RegisterSetIsCached(), and SetError().
Referenced by ClearHardwareBreakpoint(), ClearHardwareWatchpoint(), ReadRegisterSet(), SetHardwareBreakpoint(), and SetHardwareWatchpoint().
|
protected |
Definition at line 1006 of file RegisterContextDarwin_arm.cpp.
References DoReadEXC(), exc, EXCRegSet, GetError(), lldb_private::RegisterContext::GetThreadID(), Read, RegisterSetIsCached(), and SetError().
Referenced by ReadAllRegisterValues(), and ReadRegisterSet().
|
protected |
Definition at line 998 of file RegisterContextDarwin_arm.cpp.
References DoReadFPU(), fpu, FPURegSet, GetError(), lldb_private::RegisterContext::GetThreadID(), Read, RegisterSetIsCached(), and SetError().
Referenced by ReadAllRegisterValues(), and ReadRegisterSet().
|
protected |
Definition at line 990 of file RegisterContextDarwin_arm.cpp.
References DoReadGPR(), GetError(), lldb_private::RegisterContext::GetThreadID(), gpr, GPRRegSet, Read, RegisterSetIsCached(), and SetError().
Referenced by ReadAllRegisterValues(), and ReadRegisterSet().
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 1115 of file RegisterContextDarwin_arm.cpp.
References RegisterContextDarwin_arm::GPR::cpsr, lldb::eRegisterKindLLDB, lldb_private::RegisterValue::eTypeFloat, exc, exc_exception, exc_far, exc_fsr, RegisterContextDarwin_arm::EXC::exception, RegisterContextDarwin_arm::EXC::far, RegisterContextDarwin_arm::FPU::floats, RegisterContextDarwin_arm::FPU::fpscr, fpu, fpu_fpscr, fpu_s0, fpu_s1, fpu_s10, fpu_s11, fpu_s12, fpu_s13, fpu_s14, fpu_s15, fpu_s16, fpu_s17, fpu_s18, fpu_s19, fpu_s2, fpu_s20, fpu_s21, fpu_s22, fpu_s23, fpu_s24, fpu_s25, fpu_s26, fpu_s27, fpu_s28, fpu_s29, fpu_s3, fpu_s30, fpu_s31, fpu_s4, fpu_s5, fpu_s6, fpu_s7, fpu_s8, fpu_s9, RegisterContextDarwin_arm::EXC::fsr, GetSetForNativeRegNum(), gpr, gpr_cpsr, gpr_lr, gpr_pc, gpr_r0, gpr_r1, gpr_r10, gpr_r11, gpr_r12, gpr_r2, gpr_r3, gpr_r4, gpr_r5, gpr_r6, gpr_r7, gpr_r8, gpr_r9, gpr_sp, KERN_SUCCESS, lldb_private::RegisterInfo::kinds, RegisterContextDarwin_arm::GPR::r, ReadRegisterSet(), RegisterContextDarwin_arm::FPU::s, lldb_private::RegisterValue::SetUInt32(), and lldb_private::RegisterValue::SetValueToInvalid().
|
protected |
Definition at line 1066 of file RegisterContextDarwin_arm.cpp.
References DBGRegSet, EXCRegSet, FPURegSet, GPRAltRegSet, GPRRegSet, KERN_INVALID_ARGUMENT, ReadDBG(), ReadEXC(), ReadFPU(), and ReadGPR().
Referenced by ReadRegister(), and WriteRegister().
|
inlineprotected |
Definition at line 216 of file RegisterContextDarwin_arm.h.
References GetError(), and Read.
Referenced by ReadDBG(), ReadEXC(), ReadFPU(), ReadGPR(), WriteDBG(), WriteEXC(), WriteFPU(), WriteGPR(), and WriteRegisterSet().
|
inlineprotected |
Definition at line 190 of file RegisterContextDarwin_arm.h.
References DBGRegSet, exc_errs, EXCRegSet, fpu_errs, FPURegSet, gpr_errs, GPRRegSet, and kNumErrors.
Referenced by InvalidateAllRegisterStates(), ReadDBG(), ReadEXC(), ReadFPU(), ReadGPR(), RegisterContextDarwin_arm_Mach::SetRegisterDataFrom_LC_THREAD(), WriteDBG(), WriteEXC(), WriteFPU(), and WriteGPR().
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1521 of file RegisterContextDarwin_arm.cpp.
References BAS_IMVA_0_1, BAS_IMVA_2_3, BAS_IMVA_ALL, RegisterContextDarwin_arm::DBG::bcr, BCR_ENABLE, BCR_M_IMVA_MATCH, RegisterContextDarwin_arm::DBG::bvr, dbg, KERN_SUCCESS, LLDB_INVALID_INDEX32, NumSupportedHardwareBreakpoints(), ReadDBG(), S_USER, and WriteDBG().
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1647 of file RegisterContextDarwin_arm.cpp.
References dbg, KERN_SUCCESS, LLDB_INVALID_INDEX32, NumSupportedHardwareWatchpoints(), ReadDBG(), S_USER, RegisterContextDarwin_arm::DBG::wcr, WCR_ENABLE, WCR_LOAD, WCR_STORE, WriteDBG(), and RegisterContextDarwin_arm::DBG::wvr.
|
overridevirtual |
Reimplemented from lldb_private::RegisterContext.
Definition at line 1309 of file RegisterContextDarwin_arm.cpp.
References exc, fpu, gpr, KERN_SUCCESS, REG_CONTEXT_SIZE, WriteEXC(), WriteFPU(), and WriteGPR().
|
protected |
Definition at line 1055 of file RegisterContextDarwin_arm.cpp.
References dbg, DBGRegSet, DoWriteDBG(), GetError(), lldb_private::RegisterContext::GetThreadID(), KERN_INVALID_ARGUMENT, Read, RegisterSetIsCached(), SetError(), and Write.
Referenced by ClearHardwareBreakpoint(), ClearHardwareWatchpoint(), SetHardwareBreakpoint(), SetHardwareWatchpoint(), and WriteRegisterSet().
|
protected |
Definition at line 1044 of file RegisterContextDarwin_arm.cpp.
References DoWriteEXC(), exc, EXCRegSet, GetError(), lldb_private::RegisterContext::GetThreadID(), KERN_INVALID_ARGUMENT, Read, RegisterSetIsCached(), SetError(), and Write.
Referenced by WriteAllRegisterValues(), and WriteRegisterSet().
|
protected |
Definition at line 1033 of file RegisterContextDarwin_arm.cpp.
References DoWriteFPU(), fpu, FPURegSet, GetError(), lldb_private::RegisterContext::GetThreadID(), KERN_INVALID_ARGUMENT, Read, RegisterSetIsCached(), SetError(), and Write.
Referenced by WriteAllRegisterValues(), and WriteRegisterSet().
|
protected |
Definition at line 1022 of file RegisterContextDarwin_arm.cpp.
References DoWriteGPR(), GetError(), lldb_private::RegisterContext::GetThreadID(), gpr, GPRRegSet, KERN_INVALID_ARGUMENT, Read, RegisterSetIsCached(), SetError(), and Write.
Referenced by WriteAllRegisterValues(), and WriteRegisterSet().
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 1204 of file RegisterContextDarwin_arm.cpp.
References lldb::eRegisterKindLLDB, exc, exc_exception, exc_far, exc_fsr, RegisterContextDarwin_arm::EXC::exception, RegisterContextDarwin_arm::EXC::far, RegisterContextDarwin_arm::FPU::floats, RegisterContextDarwin_arm::FPU::fpscr, fpu, fpu_fpscr, fpu_s0, fpu_s1, fpu_s10, fpu_s11, fpu_s12, fpu_s13, fpu_s14, fpu_s15, fpu_s16, fpu_s17, fpu_s18, fpu_s19, fpu_s2, fpu_s20, fpu_s21, fpu_s22, fpu_s23, fpu_s24, fpu_s25, fpu_s26, fpu_s27, fpu_s28, fpu_s29, fpu_s3, fpu_s30, fpu_s31, fpu_s4, fpu_s5, fpu_s6, fpu_s7, fpu_s8, fpu_s9, RegisterContextDarwin_arm::EXC::fsr, lldb_private::RegisterValue::GetAsUInt32(), GetSetForNativeRegNum(), gpr, gpr_cpsr, gpr_lr, gpr_pc, gpr_r0, gpr_r1, gpr_r10, gpr_r11, gpr_r12, gpr_r2, gpr_r3, gpr_r4, gpr_r5, gpr_r6, gpr_r7, gpr_r8, gpr_r9, gpr_sp, KERN_SUCCESS, lldb_private::RegisterInfo::kinds, RegisterContextDarwin_arm::GPR::r, ReadRegisterSet(), RegisterContextDarwin_arm::FPU::s, and WriteRegisterSet().
|
protected |
Definition at line 1084 of file RegisterContextDarwin_arm.cpp.
References DBGRegSet, EXCRegSet, FPURegSet, GPRAltRegSet, GPRRegSet, KERN_INVALID_ARGUMENT, RegisterSetIsCached(), WriteDBG(), WriteEXC(), WriteFPU(), and WriteGPR().
Referenced by WriteRegister().
|
protected |
Definition at line 158 of file RegisterContextDarwin_arm.h.
Referenced by ClearHardwareBreakpoint(), ClearHardwareWatchpoint(), RegisterContextKDP_arm::DoReadDBG(), RegisterContextKDP_arm::DoWriteDBG(), LogDBGRegisters(), ReadDBG(), SetHardwareBreakpoint(), SetHardwareWatchpoint(), and WriteDBG().
|
protected |
Definition at line 162 of file RegisterContextDarwin_arm.h.
Referenced by GetError().
|
protected |
Definition at line 157 of file RegisterContextDarwin_arm.h.
Referenced by RegisterContextKDP_arm::DoReadEXC(), RegisterContextKDP_arm::DoWriteEXC(), ReadAllRegisterValues(), ReadEXC(), ReadRegister(), RegisterContextDarwin_arm_Mach::SetRegisterDataFrom_LC_THREAD(), WriteAllRegisterValues(), WriteEXC(), and WriteRegister().
|
protected |
Definition at line 161 of file RegisterContextDarwin_arm.h.
Referenced by GetError(), RegisterContextDarwin_arm(), and SetError().
|
protected |
Definition at line 156 of file RegisterContextDarwin_arm.h.
Referenced by RegisterContextKDP_arm::DoReadFPU(), RegisterContextKDP_arm::DoWriteFPU(), ReadAllRegisterValues(), ReadFPU(), ReadRegister(), RegisterContextDarwin_arm_Mach::SetRegisterDataFrom_LC_THREAD(), WriteAllRegisterValues(), WriteFPU(), and WriteRegister().
|
protected |
Definition at line 160 of file RegisterContextDarwin_arm.h.
Referenced by GetError(), RegisterContextDarwin_arm(), and SetError().
|
protected |
Definition at line 155 of file RegisterContextDarwin_arm.h.
Referenced by RegisterContextKDP_arm::DoReadGPR(), RegisterContextKDP_arm::DoWriteGPR(), ReadAllRegisterValues(), ReadGPR(), ReadRegister(), RegisterContextDarwin_arm_Mach::SetRegisterDataFrom_LC_THREAD(), WriteAllRegisterValues(), WriteGPR(), and WriteRegister().
|
protected |
Definition at line 159 of file RegisterContextDarwin_arm.h.
Referenced by GetError(), RegisterContextDarwin_arm(), and SetError().