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

Function db_set_breakpoints

freebsd/ddb/db_break.c:175–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173#endif
174
175void
176db_set_breakpoints(void)
177{
178 register db_breakpoint_t bkpt;
179
180 if (!db_breakpoints_inserted) {
181 for (bkpt = db_breakpoint_list;
182 bkpt != 0;
183 bkpt = bkpt->link)
184 if (db_map_current(bkpt->map)) {
185 BKPT_WRITE(bkpt->address, &bkpt->bkpt_inst);
186 }
187 db_breakpoints_inserted = true;
188 }
189}
190
191void
192db_clear_breakpoints(void)

Callers 1

db_restart_at_pcFunction · 0.85

Calls 1

db_map_currentFunction · 0.85

Tested by

no test coverage detected