Lines Matching defs:wp_sp
3154 Status ProcessGDBRemote::EnableWatchpoint(WatchpointSP wp_sp, bool notify) {
3156 if (!wp_sp) {
3160 user_id_t watchID = wp_sp->GetID();
3161 addr_t addr = wp_sp->GetLoadAddress();
3165 if (wp_sp->IsEnabled()) {
3173 bool read = wp_sp->WatchpointRead();
3174 bool write = wp_sp->WatchpointWrite() || wp_sp->WatchpointModify();
3175 size_t size = wp_sp->GetByteSize();
3224 wp_sp->SetEnabled(true, notify);
3228 wp_res_sp->AddConstituent(wp_sp);
3248 Status ProcessGDBRemote::DisableWatchpoint(WatchpointSP wp_sp, bool notify) {
3250 if (!wp_sp) {
3255 user_id_t watchID = wp_sp->GetID();
3259 addr_t addr = wp_sp->GetLoadAddress();
3266 if (!wp_sp->IsEnabled()) {
3274 wp_sp->SetEnabled(false, notify);
3278 if (wp_sp->IsHardware()) {
3283 if (wp_res_sp->ConstituentsContains(wp_sp)) {
3291 wp_res_sp->RemoveConstituent(wp_sp);
3300 wp_sp->SetEnabled(false, notify);