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

Function dbg_remove_breakpoint

freebsd/arm/arm/debug_monitor.c:372–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372static int
373dbg_remove_breakpoint(u_int slot)
374{
375 struct dbg_wb_conf conf;
376
377 /* Slot already cleared. Don't recurse */
378 if (dbg_check_slot_free(DBG_TYPE_BREAKPOINT, slot))
379 return (0);
380
381 conf.slot = slot;
382 conf.type = DBG_TYPE_BREAKPOINT;
383
384 return (dbg_remove_xpoint(&conf));
385}
386
387static const char *
388dbg_watchtype_str(uint32_t type)

Callers 1

kdb_cpu_clear_singlestepFunction · 0.85

Calls 2

dbg_check_slot_freeFunction · 0.85
dbg_remove_xpointFunction · 0.85

Tested by

no test coverage detected