9#if defined(__arm__) || defined(_M_ARM)
10#ifndef liblldb_NativeRegisterContextWindows_arm_h_
11#define liblldb_NativeRegisterContextWindows_arm_h_
19class NativeThreadWindows;
21class NativeRegisterContextWindows_arm :
public NativeRegisterContextWindows {
23 NativeRegisterContextWindows_arm(
const ArchSpec &target_arch,
24 NativeThreadProtocol &native_thread);
26 uint32_t GetRegisterSetCount()
const override;
28 const RegisterSet *GetRegisterSet(uint32_t set_index)
const override;
30 Status ReadRegister(
const RegisterInfo *reg_info,
31 RegisterValue ®_value)
override;
33 Status WriteRegister(
const RegisterInfo *reg_info,
34 const RegisterValue ®_value)
override;
40 Status IsWatchpointHit(uint32_t wp_index,
bool &is_hit)
override;
42 Status GetWatchpointHitIndex(uint32_t &wp_index,
45 Status IsWatchpointVacant(uint32_t wp_index,
bool &is_vacant)
override;
47 bool ClearHardwareWatchpoint(uint32_t wp_index)
override;
49 Status ClearAllHardwareWatchpoints()
override;
55 uint32_t SetHardwareWatchpoint(
lldb::addr_t addr,
size_t size,
56 uint32_t watch_flags)
override;
58 lldb::addr_t GetWatchpointAddress(uint32_t wp_index)
override;
60 uint32_t NumSupportedHardwareWatchpoints()
override;
63 Status GPRRead(
const uint32_t reg, RegisterValue ®_value);
65 Status GPRWrite(
const uint32_t reg,
const RegisterValue ®_value);
67 Status FPRRead(
const uint32_t reg, RegisterValue ®_value);
69 Status FPRWrite(
const uint32_t reg,
const RegisterValue ®_value);
72 bool IsGPR(uint32_t reg_index)
const;
74 bool IsFPR(uint32_t reg_index)
const;
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP