Lines Matching refs:wp
851 Status ProcessWindows::EnableWatchpoint(Watchpoint *wp, bool notify) { in EnableWatchpoint() argument
854 if (wp->IsEnabled()) { in EnableWatchpoint()
855 wp->SetEnabled(true, notify); in EnableWatchpoint()
867 wp->GetID()); in EnableWatchpoint()
870 info.address = wp->GetLoadAddress(); in EnableWatchpoint()
871 info.size = wp->GetByteSize(); in EnableWatchpoint()
872 info.read = wp->WatchpointRead(); in EnableWatchpoint()
873 info.write = wp->WatchpointWrite(); in EnableWatchpoint()
882 "Can't enable watchpoint %i on thread 0x%llx", wp->GetID(), in EnableWatchpoint()
897 m_watchpoints[wp->GetID()] = info; in EnableWatchpoint()
898 m_watchpoint_ids[info.slot_id] = wp->GetID(); in EnableWatchpoint()
900 wp->SetEnabled(true, notify); in EnableWatchpoint()
905 Status ProcessWindows::DisableWatchpoint(Watchpoint *wp, bool notify) { in DisableWatchpoint() argument
908 if (!wp->IsEnabled()) { in DisableWatchpoint()
909 wp->SetEnabled(false, notify); in DisableWatchpoint()
913 auto it = m_watchpoints.find(wp->GetID()); in DisableWatchpoint()
916 wp->GetID()); in DisableWatchpoint()
926 "Can't disable watchpoint %i on thread 0x%llx", wp->GetID(), in DisableWatchpoint()
937 wp->SetEnabled(false, notify); in DisableWatchpoint()