LLDB mainline
|
#include <StoppointSite.h>
Public Member Functions | |
StoppointSite (lldb::break_id_t bid, lldb::addr_t m_addr, bool hardware) | |
StoppointSite (lldb::break_id_t bid, lldb::addr_t m_addr, uint32_t byte_size, bool hardware) | |
virtual | ~StoppointSite ()=default |
virtual lldb::addr_t | GetLoadAddress () const |
virtual void | SetLoadAddress (lldb::addr_t addr) |
uint32_t | GetByteSize () const |
uint32_t | GetHitCount () const |
void | ResetHitCount () |
bool | HardwareRequired () const |
virtual bool | IsHardware () const =0 |
virtual bool | ShouldStop (StoppointCallbackContext *context)=0 |
virtual void | Dump (Stream *stream) const =0 |
lldb::break_id_t | GetID () const |
Protected Attributes | |
lldb::break_id_t | m_id |
Stoppoint site ID. | |
lldb::addr_t | m_addr |
The load address of this stop point. | |
bool | m_is_hardware_required |
True if this point is required to use hardware (which may fail due to the lack of resources). | |
uint32_t | m_byte_size |
The size in bytes of stoppoint, e.g. | |
StoppointHitCounter | m_hit_counter |
Number of times this breakpoint/watchpoint has been hit. | |
Private Member Functions | |
StoppointSite (const StoppointSite &)=delete | |
const StoppointSite & | operator= (const StoppointSite &)=delete |
StoppointSite ()=delete | |
Definition at line 18 of file StoppointSite.h.
lldb_private::StoppointSite::StoppointSite | ( | lldb::break_id_t | bid, |
lldb::addr_t | m_addr, | ||
bool | hardware | ||
) |
lldb_private::StoppointSite::StoppointSite | ( | lldb::break_id_t | bid, |
lldb::addr_t | m_addr, | ||
uint32_t | byte_size, | ||
bool | hardware | ||
) |
|
virtualdefault |
|
privatedelete |
|
privatedelete |
|
pure virtual |
Implemented in lldb_private::BreakpointSite, and lldb_private::Watchpoint.
|
inline |
Definition at line 31 of file StoppointSite.h.
References m_byte_size.
Referenced by lldb_private::Process::DisableSoftwareBreakpoint().
|
inline |
Definition at line 33 of file StoppointSite.h.
References lldb_private::StoppointHitCounter::GetValue(), and m_hit_counter.
Referenced by lldb_private::BreakpointSite::Dump(), and lldb_private::Watchpoint::DumpWithLevel().
|
inline |
Definition at line 45 of file StoppointSite.h.
References m_id.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DisableBreakpointSite(), lldb_private::ProcessWindows::DisableBreakpointSite(), lldb_private::Process::DisableSoftwareBreakpoint(), lldb_private::BreakpointSite::Dump(), lldb_private::Watchpoint::DumpSnapshots(), lldb_private::Watchpoint::DumpWithLevel(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableBreakpointSite(), lldb_private::ProcessWindows::EnableBreakpointSite(), lldb_private::Process::EnableSoftwareBreakpoint(), lldb_private::BreakpointSite::GetDescription(), lldb_private::Watchpoint::InvokeCallback(), and lldb_private::Watchpoint::SetupVariableWatchpointDisabler().
|
inlinevirtual |
Definition at line 27 of file StoppointSite.h.
References m_addr.
Referenced by lldb_private::Watchpoint::CaptureWatchedValue(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableBreakpointSite(), lldb_private::ProcessWindows::DisableBreakpointSite(), ProcessKDP::DisableBreakpointSite(), lldb_private::Process::DisableSoftwareBreakpoint(), lldb_private::Watchpoint::DumpWithLevel(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableBreakpointSite(), lldb_private::ScriptedProcess::EnableBreakpointSite(), lldb_private::ProcessWindows::EnableBreakpointSite(), ProcessKDP::EnableBreakpointSite(), lldb_private::Process::EnableSoftwareBreakpoint(), lldb_private::BreakpointSite::GetDescription(), and lldb_private::Watchpoint::WatchedValueReportable().
|
inline |
Definition at line 37 of file StoppointSite.h.
References m_is_hardware_required.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::EnableBreakpointSite(), lldb_private::ScriptedProcess::EnableBreakpointSite(), lldb_private::ProcessWindows::EnableBreakpointSite(), ProcessKDP::EnableBreakpointSite(), lldb_private::BreakpointSite::IsHardware(), and lldb_private::Watchpoint::IsHardware().
|
pure virtual |
Implemented in lldb_private::BreakpointSite, and lldb_private::Watchpoint.
|
privatedelete |
|
inline |
Definition at line 35 of file StoppointSite.h.
References m_hit_counter, and lldb_private::StoppointHitCounter::Reset().
|
inlinevirtual |
Definition at line 29 of file StoppointSite.h.
References m_addr.
|
pure virtual |
Implemented in lldb_private::BreakpointSite, and lldb_private::Watchpoint.
|
protected |
The load address of this stop point.
Definition at line 52 of file StoppointSite.h.
Referenced by lldb_private::BreakpointSite::Dump(), GetLoadAddress(), lldb_private::BreakpointSite::IntersectsRange(), and SetLoadAddress().
|
protected |
The size in bytes of stoppoint, e.g.
the length of the trap opcode for software breakpoints, or the optional length in bytes for hardware breakpoints, or the length of the watchpoint.
Definition at line 61 of file StoppointSite.h.
Referenced by lldb_private::Watchpoint::DumpWithLevel(), GetByteSize(), lldb_private::BreakpointSite::IntersectsRange(), and lldb_private::BreakpointSite::SetTrapOpcode().
|
protected |
Number of times this breakpoint/watchpoint has been hit.
Definition at line 64 of file StoppointSite.h.
Referenced by GetHitCount(), ResetHitCount(), lldb_private::BreakpointSite::ShouldStop(), lldb_private::Watchpoint::ShouldStop(), and lldb_private::Watchpoint::UndoHitCount().
|
protected |
Stoppoint site ID.
Definition at line 49 of file StoppointSite.h.
Referenced by GetID(), and lldb_private::Watchpoint::SetID().
|
protected |
True if this point is required to use hardware (which may fail due to the lack of resources).
Definition at line 56 of file StoppointSite.h.
Referenced by HardwareRequired().