Lines Matching refs:wp_sp
3133 Status ProcessGDBRemote::EnableWatchpoint(WatchpointSP wp_sp, bool notify) { in EnableWatchpoint() argument
3135 if (!wp_sp) { in EnableWatchpoint()
3139 user_id_t watchID = wp_sp->GetID(); in EnableWatchpoint()
3140 addr_t addr = wp_sp->GetLoadAddress(); in EnableWatchpoint()
3144 if (wp_sp->IsEnabled()) { in EnableWatchpoint()
3152 bool read = wp_sp->WatchpointRead(); in EnableWatchpoint()
3153 bool write = wp_sp->WatchpointWrite() || wp_sp->WatchpointModify(); in EnableWatchpoint()
3154 size_t size = wp_sp->GetByteSize(); in EnableWatchpoint()
3213 wp_sp->SetEnabled(true, notify); in EnableWatchpoint()
3217 wp_res_sp->AddConstituent(wp_sp); in EnableWatchpoint()
3237 Status ProcessGDBRemote::DisableWatchpoint(WatchpointSP wp_sp, bool notify) { in DisableWatchpoint() argument
3239 if (!wp_sp) { in DisableWatchpoint()
3244 user_id_t watchID = wp_sp->GetID(); in DisableWatchpoint()
3248 addr_t addr = wp_sp->GetLoadAddress(); in DisableWatchpoint()
3255 if (!wp_sp->IsEnabled()) { in DisableWatchpoint()
3263 wp_sp->SetEnabled(false, notify); in DisableWatchpoint()
3267 if (wp_sp->IsHardware()) { in DisableWatchpoint()
3272 if (wp_res_sp->ConstituentsContains(wp_sp)) { in DisableWatchpoint()
3280 wp_res_sp->RemoveConstituent(wp_sp); in DisableWatchpoint()
3289 wp_sp->SetEnabled(false, notify); in DisableWatchpoint()