Set hardware watchpoint */ ARGSUSED*/
| 296 | /* Set hardware watchpoint */ |
| 297 | /*ARGSUSED*/ |
| 298 | void |
| 299 | db_hwatchpoint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, |
| 300 | char *modif) |
| 301 | { |
| 302 | int rc; |
| 303 | |
| 304 | if (count < 0) |
| 305 | count = 4; |
| 306 | |
| 307 | rc = db_md_set_watchpoint(addr, count); |
| 308 | if (rc < 0) |
| 309 | db_printf("hardware watchpoint could not be set\n"); |
| 310 | } |
nothing calls this directly
no test coverage detected