Lines Matching defs:wp_sp
3208 Status ProcessGDBRemote::EnableWatchpoint(WatchpointSP wp_sp, bool notify) {
3210 if (!wp_sp) {
3214 user_id_t watchID = wp_sp->GetID();
3215 addr_t addr = wp_sp->GetLoadAddress();
3219 if (wp_sp->IsEnabled()) {
3227 bool read = wp_sp->WatchpointRead();
3228 bool write = wp_sp->WatchpointWrite() || wp_sp->WatchpointModify();
3229 size_t size = wp_sp->GetByteSize();
3278 wp_sp->SetEnabled(true, notify);
3282 wp_res_sp->AddConstituent(wp_sp);
3303 Status ProcessGDBRemote::DisableWatchpoint(WatchpointSP wp_sp, bool notify) {
3305 if (!wp_sp) {
3310 user_id_t watchID = wp_sp->GetID();
3314 addr_t addr = wp_sp->GetLoadAddress();
3321 if (!wp_sp->IsEnabled()) {
3329 wp_sp->SetEnabled(false, notify);
3333 if (wp_sp->IsHardware()) {
3338 if (wp_res_sp->ConstituentsContains(wp_sp)) {
3346 wp_res_sp->RemoveConstituent(wp_sp);
3355 wp_sp->SetEnabled(false, notify);