MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_delete_watchpoint

Function db_delete_watchpoint

freebsd/ddb/db_watch.c:137–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static void
138db_delete_watchpoint(vm_map_t map, db_addr_t addr)
139{
140 db_watchpoint_t watch;
141 db_watchpoint_t *prev;
142
143 for (prev = &db_watchpoint_list;
144 (watch = *prev) != 0;
145 prev = &watch->link)
146 if (db_map_equal(watch->map, map) &&
147 (watch->loaddr <= addr) &&
148 (addr < watch->hiaddr)) {
149 *prev = watch->link;
150 db_watchpoint_free(watch);
151 return;
152 }
153
154 db_printf("Not set.\n");
155}
156
157static void
158db_list_watchpoints(void)

Callers 1

db_watch.cFile · 0.85

Calls 3

db_map_equalFunction · 0.85
db_watchpoint_freeFunction · 0.85
db_printfFunction · 0.85

Tested by

no test coverage detected