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

Function dbg_setup_breakpoint

freebsd/arm/arm/debug_monitor.c:358–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358static int
359dbg_setup_breakpoint(db_expr_t addr, db_expr_t size, u_int slot)
360{
361 struct dbg_wb_conf conf;
362
363 conf.address = addr;
364 conf.size = size;
365 conf.access = HW_BREAKPOINT_X;
366 conf.type = DBG_TYPE_BREAKPOINT;
367 conf.slot = slot;
368
369 return (dbg_setup_xpoint(&conf));
370}
371
372static int
373dbg_remove_breakpoint(u_int slot)

Callers 1

kdb_cpu_set_singlestepFunction · 0.85

Calls 1

dbg_setup_xpointFunction · 0.85

Tested by

no test coverage detected