9#ifndef LLDB_BREAKPOINT_STOPPOINTSITE_H
10#define LLDB_BREAKPOINT_STOPPOINTSITE_H
23 uint32_t byte_size,
bool hardware);
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
uint32_t GetValue() const
uint32_t m_hardware_index
The hardware resource index for this breakpoint/watchpoint.
uint32_t GetHardwareIndex() const
lldb::addr_t m_addr
The load address of this stop point.
virtual void Dump(Stream *stream) const =0
StoppointSite(lldb::break_id_t bid, lldb::addr_t m_addr, bool hardware)
const StoppointSite & operator=(const StoppointSite &)=delete
lldb::break_id_t GetID() const
StoppointSite(const StoppointSite &)=delete
lldb::break_id_t m_id
Stoppoint site ID.
uint32_t GetHitCount() const
void SetHardwareIndex(uint32_t index)
StoppointHitCounter m_hit_counter
Number of times this breakpoint/watchpoint has been hit.
virtual lldb::addr_t GetLoadAddress() const
uint32_t GetByteSize() const
virtual bool IsHardware() const =0
virtual void SetLoadAddress(lldb::addr_t addr)
virtual bool ShouldStop(StoppointCallbackContext *context)=0
StoppointSite(lldb::break_id_t bid, lldb::addr_t m_addr, uint32_t byte_size, bool hardware)
uint32_t m_byte_size
The size in bytes of stoppoint, e.g.
bool m_is_hardware_required
True if this point is required to use hardware (which may fail due to the lack of resources).
virtual ~StoppointSite()=default
bool HardwareRequired() const
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.