| 356 | } |
| 357 | |
| 358 | static int |
| 359 | dbg_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 | |
| 372 | static int |
| 373 | dbg_remove_breakpoint(u_int slot) |
no test coverage detected