Lines Matching refs:Watchpoint
1 //===-- Watchpoint.cpp ------------------------------------------*- C++ -*-===//
10 #include "lldb/Breakpoint/Watchpoint.h"
30 Watchpoint::Watchpoint (Target& target, lldb::addr_t addr, uint32_t size, const ClangASTType *type, bool hardware) :
70 Watchpoint::~Watchpoint()
76 Watchpoint::SetCallback (WatchpointHitCallback callback, void *baton, bool is_synchronous)
88 Watchpoint::SetCallback (WatchpointHitCallback callback, const BatonSP &callback_baton_sp, bool is_synchronous)
95 Watchpoint::ClearCallback ()
102 Watchpoint::SetDeclInfo (const std::string &str)
109 Watchpoint::GetWatchSpec()
115 Watchpoint::SetWatchSpec (const std::string &str)
124 Watchpoint::IsHardware () const
130 Watchpoint::IsWatchVariable() const
136 Watchpoint::SetWatchVariable(bool val)
142 Watchpoint::CaptureWatchedValue (const ExecutionContext &exe_ctx)
149 // Don't know how to report new & old values, since we couldn't make a scalar type for this watchpoint.
164 Watchpoint::IncrementFalseAlarmsAndReviseHitCount()
186 Watchpoint::ShouldStop (StoppointCallbackContext *context)
200 Watchpoint::GetDescription (Stream *s, lldb::DescriptionLevel level)
207 Watchpoint::Dump(Stream *s) const
214 Watchpoint::DumpSnapshots(Stream *s, const char *prefix) const
233 Watchpoint::DumpWithLevel(Stream *s, lldb::DescriptionLevel description_level) const
241 s->Printf("Watchpoint %u: addr = 0x%8.8" PRIx64 " size = %u state = %s type = %s%s",
253 s->Printf("\n watchpoint spec = '%s'", m_watch_spec_str.c_str());
273 Watchpoint::IsEnabled() const
278 // Within StopInfo.cpp, we purposely turn on the ephemeral mode right before temporarily disable the watchpoint
279 // in order to perform possible watchpoint actions without triggering further watchpoint events.
280 // After the temporary disabled watchpoint is enabled, we then turn off the ephemeral mode.
283 Watchpoint::TurnOnEphemeralMode()
289 Watchpoint::TurnOffEphemeralMode()
297 Watchpoint::IsDisabledDuringEphemeralMode()
303 Watchpoint::SetEnabled(bool enabled, bool notify)
313 // Within StopInfo.cpp, we purposely do disable/enable watchpoint while performing watchpoint actions.
322 Watchpoint::SetWatchpointType (uint32_t type, bool notify)
333 Watchpoint::WatchpointRead () const
338 Watchpoint::WatchpointWrite () const
343 Watchpoint::GetIgnoreCount () const
349 Watchpoint::SetIgnoreCount (uint32_t n)
358 Watchpoint::InvokeCallback (StoppointCallbackContext *context)
364 Watchpoint::SetCondition (const char *condition)
380 Watchpoint::GetConditionText () const
389 Watchpoint::SendWatchpointChangedEvent (lldb::WatchpointEventType eventKind)
394 WatchpointEventData *data = new Watchpoint::WatchpointEventData (eventKind, shared_from_this());
400 Watchpoint::SendWatchpointChangedEvent (WatchpointEventData *data)
413 Watchpoint::WatchpointEventData::WatchpointEventData (WatchpointEventType sub_type,
421 Watchpoint::WatchpointEventData::~WatchpointEventData ()
426 Watchpoint::WatchpointEventData::GetFlavorString ()
428 static ConstString g_flavor ("Watchpoint::WatchpointEventData");
433 Watchpoint::WatchpointEventData::GetFlavor () const
440 Watchpoint::WatchpointEventData::GetWatchpoint ()
446 Watchpoint::WatchpointEventData::GetWatchpointEventType () const
452 Watchpoint::WatchpointEventData::Dump (Stream *s) const
456 const Watchpoint::WatchpointEventData *
457 Watchpoint::WatchpointEventData::GetEventDataFromEvent (const Event *event)
469 Watchpoint::WatchpointEventData::GetWatchpointEventTypeFromEvent (const EventSP &event_sp)
480 Watchpoint::WatchpointEventData::GetWatchpointFromEvent (const EventSP &event_sp)