Lines Matching refs:wp_sp
802 WatchpointSP wp_sp; in CreateWatchpoint() local
805 return wp_sp; in CreateWatchpoint()
813 return wp_sp; in CreateWatchpoint()
821 return wp_sp; in CreateWatchpoint()
844 wp_sp = matched_sp; in CreateWatchpoint()
845 wp_sp->SetEnabled(false, notify); in CreateWatchpoint()
853 if (!wp_sp) { in CreateWatchpoint()
854 wp_sp = std::make_shared<Watchpoint>(*this, addr, size, type); in CreateWatchpoint()
855 wp_sp->SetWatchpointType(kind, notify); in CreateWatchpoint()
856 m_watchpoint_list.Add(wp_sp, true); in CreateWatchpoint()
859 error = m_process_sp->EnableWatchpoint(wp_sp.get(), notify); in CreateWatchpoint()
862 wp_sp->GetID()); in CreateWatchpoint()
867 m_watchpoint_list.Remove(wp_sp->GetID(), true); in CreateWatchpoint()
873 wp_sp.reset(); in CreateWatchpoint()
875 m_last_created_watchpoint = wp_sp; in CreateWatchpoint()
876 return wp_sp; in CreateWatchpoint()
1164 for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) { in RemoveAllWatchpoints() local
1165 if (!wp_sp) in RemoveAllWatchpoints()
1168 Status rc = m_process_sp->DisableWatchpoint(wp_sp.get()); in RemoveAllWatchpoints()
1193 for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) { in DisableAllWatchpoints() local
1194 if (!wp_sp) in DisableAllWatchpoints()
1197 Status rc = m_process_sp->DisableWatchpoint(wp_sp.get()); in DisableAllWatchpoints()
1220 for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) { in EnableAllWatchpoints() local
1221 if (!wp_sp) in EnableAllWatchpoints()
1224 Status rc = m_process_sp->EnableWatchpoint(wp_sp.get()); in EnableAllWatchpoints()
1236 for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) { in ClearAllWatchpointHitCounts() local
1237 if (!wp_sp) in ClearAllWatchpointHitCounts()
1240 wp_sp->ResetHitCount(); in ClearAllWatchpointHitCounts()
1250 for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) { in ClearAllWatchpointHistoricValues() local
1251 if (!wp_sp) in ClearAllWatchpointHistoricValues()
1254 wp_sp->ResetHistoricValues(); in ClearAllWatchpointHistoricValues()
1268 for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) { in IgnoreAllWatchpoints() local
1269 if (!wp_sp) in IgnoreAllWatchpoints()
1272 wp_sp->SetIgnoreCount(ignore_count); in IgnoreAllWatchpoints()
1285 WatchpointSP wp_sp = m_watchpoint_list.FindByID(watch_id); in DisableWatchpointByID() local
1286 if (wp_sp) { in DisableWatchpointByID()
1287 Status rc = m_process_sp->DisableWatchpoint(wp_sp.get()); in DisableWatchpointByID()
1304 WatchpointSP wp_sp = m_watchpoint_list.FindByID(watch_id); in EnableWatchpointByID() local
1305 if (wp_sp) { in EnableWatchpointByID()
1306 Status rc = m_process_sp->EnableWatchpoint(wp_sp.get()); in EnableWatchpointByID()
1340 WatchpointSP wp_sp = m_watchpoint_list.FindByID(watch_id); in IgnoreWatchpointByID() local
1341 if (wp_sp) { in IgnoreWatchpointByID()
1342 wp_sp->SetIgnoreCount(ignore_count); in IgnoreWatchpointByID()