Lines Matching defs:watchpoint
23 fLock("watchpoint manager"),
45 WatchpointManager::InstallWatchpoint(Watchpoint* watchpoint,
50 watchpoint, enabled);
55 bool oldEnabled = watchpoint->IsEnabled();
57 TRACE_CONTROL(" watchpoint already valid and with same enabled "
62 watchpoint->SetEnabled(enabled);
64 if (watchpoint->ShouldBeInstalled()) {
65 error = fDebuggerInterface->InstallWatchpoint(watchpoint->Address(),
66 watchpoint->Type(), watchpoint->Length());
69 watchpoint->SetInstalled(true);
71 error = fDebuggerInterface->UninstallWatchpoint(watchpoint->Address());
74 watchpoint->SetInstalled(false);
78 if (fTeam->WatchpointAtAddress(watchpoint->Address()) == NULL)
79 fTeam->AddWatchpoint(watchpoint);
80 fTeam->NotifyWatchpointChanged(watchpoint);
88 WatchpointManager::UninstallWatchpoint(Watchpoint* watchpoint)
93 fTeam->RemoveWatchpoint(watchpoint);
95 if (!watchpoint->IsInstalled())
99 watchpoint->Address());
102 watchpoint->SetInstalled(false);
103 fTeam->NotifyWatchpointChanged(watchpoint);