Delete hardware watchpoint */ ARGSUSED*/
| 280 | /* Delete hardware watchpoint */ |
| 281 | /*ARGSUSED*/ |
| 282 | void |
| 283 | db_deletehwatch_cmd(db_expr_t addr, bool have_addr, db_expr_t count, |
| 284 | char *modif) |
| 285 | { |
| 286 | int rc; |
| 287 | |
| 288 | if (count < 0) |
| 289 | count = 4; |
| 290 | |
| 291 | rc = db_md_clr_watchpoint(addr, count); |
| 292 | if (rc < 0) |
| 293 | db_printf("hardware watchpoint could not be deleted\n"); |
| 294 | } |
| 295 | |
| 296 | /* Set hardware watchpoint */ |
| 297 | /*ARGSUSED*/ |
nothing calls this directly
no test coverage detected