| 370 | } |
| 371 | |
| 372 | static int |
| 373 | dbg_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 | |
| 387 | static const char * |
| 388 | dbg_watchtype_str(uint32_t type) |
no test coverage detected