9#ifndef liblldb_NativeThreadWindows_h_
10#define liblldb_NativeThreadWindows_h_
56 std::string &description)
override;
59 bool hardware)
override;
82 using IndexMap = std::map<lldb::addr_t, uint32_t>;
NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid)
IndexMap m_watchpoint_index_map
const HostThread & GetHostThread()
void ClearSingleStepping()
bool IsSingleStepping() const
Whether the last DoResume() single-stepped this thread.
StructuredData::ObjectSP GetExtendedInfo() const override
std::string GetName() override
bool TakePendingSingleStepTrap()
Status RemoveWatchpoint(lldb::addr_t addr) override
~NativeThreadWindows() override=default
bool CompleteSingleStepWithoutTrap()
Called when a stop is reported.
Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) override
void SetStopReason(ThreadStopInfo stop_info, std::string description)
Status DoResume(lldb::StateType resume_state)
IndexMap m_hw_breakpoint_index_map
std::map< lldb::addr_t, uint32_t > IndexMap
bool GetStopReason(ThreadStopInfo &stop_info, std::string &description) override
NativeRegisterContextWindows & GetRegisterContext() override
lldb::StateType GetState() override
NativeThreadWindows(NativeProcessWindows &process, const HostThread &thread)
lldb::addr_t m_single_step_start_pc
Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override
std::unique_ptr< NativeRegisterContextWindows > m_reg_context_up
Status RemoveHardwareBreakpoint(lldb::addr_t addr) override
bool m_single_step_trap_pending
std::shared_ptr< Object > ObjectSP
#define LLDB_INVALID_ADDRESS
A class that represents a running process on the host machine.
StateType
Process and Thread States.