Searched refs:watchpoint (Results 1 - 21 of 21) sorted by relevance

/haiku/src/kits/debugger/debug_managers/
H A DWatchpointManager.cpp23 fLock("watchpoint manager"),
45 WatchpointManager::InstallWatchpoint(Watchpoint* watchpoint, argument
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
88 UninstallWatchpoint(Watchpoint* watchpoint) argument
[all...]
H A DWatchpointManager.h26 status_t InstallWatchpoint(Watchpoint* watchpoint,
28 void UninstallWatchpoint(Watchpoint* watchpoint);
/haiku/src/kits/debugger/model/
H A DWatchpoint.cpp57 const Watchpoint* watchpoint)
59 if (*address < watchpoint->Address())
61 return *address == watchpoint->Address() ? 0 : 1;
56 CompareAddressWatchpoint(const target_addr_t* address, const Watchpoint* watchpoint) argument
H A DTeam.cpp61 virtual int operator()(const Watchpoint* watchpoint) const
63 return -Watchpoint::CompareAddressWatchpoint(&fAddress, watchpoint);
99 for (int32 i = 0; Watchpoint* watchpoint = fWatchpoints.ItemAt(i); i++)
100 watchpoint->ReleaseReference();
511 Team::AddWatchpoint(Watchpoint* watchpoint) argument
513 if (fWatchpoints.BinaryInsert(watchpoint, &Watchpoint::CompareWatchpoints))
516 watchpoint->ReleaseReference();
522 Team::RemoveWatchpoint(Watchpoint* watchpoint) argument
524 int32 index = fWatchpoints.BinarySearchIndex(*watchpoint,
530 watchpoint
834 NotifyWatchpointChanged(Watchpoint* watchpoint) argument
1076 WatchpointEvent(uint32 type, Team* team, Watchpoint* watchpoint) argument
[all...]
/haiku/src/system/kernel/debug/
H A DBreakpointManager.cpp66 while (InstalledWatchpoint* watchpoint = fWatchpoints.RemoveHead())
67 delete watchpoint;
175 InstalledWatchpoint* watchpoint = _FindWatchpoint(address); local
176 if (watchpoint != NULL)
188 watchpoint = new(std::nothrow) InstalledWatchpoint;
189 if (watchpoint == NULL)
191 ObjectDeleter<InstalledWatchpoint> watchpointDeleter(watchpoint);
193 status_t error = _InstallWatchpoint(watchpoint, address, type, length);
208 InstalledWatchpoint* watchpoint = _FindWatchpoint((addr_t)address); local
209 if (watchpoint
599 _InstallWatchpoint(InstalledWatchpoint* watchpoint, addr_t address, uint32 type, int32 length) argument
626 _UninstallWatchpoint(InstalledWatchpoint* watchpoint) argument
[all...]
H A DBreakpointManager.h122 InstalledWatchpoint* watchpoint,
125 InstalledWatchpoint* watchpoint);
H A Duser_debugger.cpp2021 // set the watchpoint
2053 // clear the watchpoint
2981 bool watchpoint)
2986 if (watchpoint && length < 0)
2997 // that we install a break/watchpoint the debugger doesn't know about.
2999 // set the break/watchpoint
3001 if (watchpoint)
3014 _user_clear_debugger_breakpoint(void *address, bool watchpoint) argument
3028 // that we clear a break/watchpoint the debugger has just installed.
3030 // clear the break/watchpoint
2980 _user_set_debugger_breakpoint(void *address, uint32 type, int32 length, bool watchpoint) argument
[all...]
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DBreakpointsView.cpp82 BreakpointsView::WatchpointChanged(Watchpoint* watchpoint) argument
84 fListView->WatchpointChanged(watchpoint);
205 Watchpoint* watchpoint = proxy->GetWatchpoint(); local
207 if (watchpoint->IsEnabled())
290 Watchpoint* watchpoint = proxy->GetWatchpoint(); local
291 if (action == MSG_ENABLE_BREAKPOINT && !watchpoint->IsEnabled())
292 fListener->SetWatchpointEnabledRequested(watchpoint, true);
294 && watchpoint->IsEnabled()) {
295 fListener->SetWatchpointEnabledRequested(watchpoint, false);
297 fListener->ClearWatchpointRequested(watchpoint);
[all...]
H A DBreakpointListView.cpp35 Watchpoint* watchpoint)
38 fWatchpoint(watchpoint)
158 Watchpoint* watchpoint = oldProxy->GetWatchpoint(); local
159 if (watchpoint == newWatchpoint) {
160 if (watchpoint == proxy->GetWatchpoint())
291 bool _GetWatchpointValueAt(Watchpoint* watchpoint, int32 rowIndex, argument
296 value.SetTo((int32)watchpoint->IsEnabled());
302 _WatchpointTypeToString(watchpoint->Type()),
303 watchpoint->Address(), watchpoint
34 BreakpointProxy(UserBreakpoint* breakpoint, Watchpoint* watchpoint) argument
398 WatchpointChanged(Watchpoint* watchpoint) argument
[all...]
H A DBreakpointsView.h35 Watchpoint* watchpoint);
82 Watchpoint* watchpoint) = 0;
H A DBreakpointListView.h29 Watchpoint* watchpoint);
H A DTeamWindow.h123 Watchpoint* watchpoint);
202 Watchpoint* watchpoint);
H A DTeamWindow.cpp752 Watchpoint* watchpoint; local
753 if (message->FindPointer("watchpoint", (void**)&watchpoint) != B_OK)
755 BReference<Watchpoint> watchpointReference(watchpoint, true);
757 _HandleWatchpointChanged(watchpoint);
986 TeamWindow::SetWatchpointEnabledRequested(Watchpoint* watchpoint, argument
989 fListener->SetWatchpointEnabledRequested(watchpoint, enabled);
994 TeamWindow::ClearWatchpointRequested(Watchpoint* watchpoint) argument
996 fListener->ClearWatchpointRequested(watchpoint);
1099 if (message.AddPointer("watchpoint", even
1942 _HandleWatchpointChanged(Watchpoint* watchpoint) argument
[all...]
/haiku/headers/private/debugger/model/
H A DWatchpoint.h41 const Watchpoint* watchpoint);
H A DTeam.h196 bool AddWatchpoint(Watchpoint* watchpoint);
198 void RemoveWatchpoint(Watchpoint* watchpoint);
262 // watchpoint related service methods
264 Watchpoint* watchpoint);
476 Watchpoint* watchpoint);
/haiku/src/kits/debugger/controllers/
H A DTeamDebugger.cpp433 // create the watchpoint manager
742 Watchpoint* watchpoint = NULL; local
748 if (message->FindPointer("watchpoint", (void**)&watchpoint)
750 watchpointReference.SetTo(watchpoint, true);
755 if (watchpoint == NULL && (message->FindUInt32("type", &type)
765 if (watchpoint != NULL)
766 _HandleSetWatchpoint(watchpoint, enabled);
770 if (watchpoint != NULL)
771 _HandleClearWatchpoint(watchpoint);
1247 SetWatchpointEnabledRequested(Watchpoint* watchpoint, bool enabled) argument
1270 ClearWatchpointRequested(Watchpoint* watchpoint) argument
2220 Watchpoint* watchpoint = new(std::nothrow) Watchpoint(address, type, local
2232 _HandleSetWatchpoint(Watchpoint* watchpoint, bool enabled) argument
2251 Watchpoint* watchpoint = fTeam->WatchpointAtAddress(address); local
2263 _HandleClearWatchpoint(Watchpoint* watchpoint) argument
[all...]
/haiku/headers/private/debugger/user_interface/
H A DUserInterface.h160 Watchpoint* watchpoint,
165 Watchpoint* watchpoint) = 0;
/haiku/headers/private/kernel/
H A Duser_debugger.h289 int32 length, bool watchpoint);
290 status_t _user_clear_debugger_breakpoint(void *address, bool watchpoint);
/haiku/headers/private/debugger/controllers/
H A DTeamDebugger.h125 Watchpoint *watchpoint, bool enabled);
217 Watchpoint* watchpoint, bool enabled);
219 void _HandleClearWatchpoint(Watchpoint* watchpoint);
/haiku/src/system/kernel/arch/x86/
H A Darch_user_debugger.cpp276 /*! Sets a break-/watchpoint in the given team info.
326 /*! Clears a break-/watchpoint in the given team info.
330 clear_breakpoint(arch_team_debug_info& info, void* address, bool watchpoint) argument
336 && (watchpoint
352 if (watchpoint)
384 clear_breakpoint(void* address, bool watchpoint) argument
395 address, watchpoint);
445 clear_kernel_breakpoint(void* address, bool watchpoint) argument
456 address, watchpoint);
889 panic("arch_set_kernel_watchpoint() failed to set watchpoint
1008 bool watchpoint = true; local
[all...]
/haiku/headers/private/system/
H A Dsyscalls.h507 int32 length, bool watchpoint);
509 bool watchpoint);

Completed in 123 milliseconds