| 252 | } |
| 253 | |
| 254 | boolean_t |
| 255 | kdb_cpu_pc_is_singlestep(db_addr_t pc) |
| 256 | { |
| 257 | /* |
| 258 | * XXX: If the platform fails to enable its debug arch. |
| 259 | * there will be no stepping capabilities |
| 260 | */ |
| 261 | if (!dbg_capable()) |
| 262 | return (FALSE); |
| 263 | |
| 264 | if (dbg_find_slot(DBG_TYPE_BREAKPOINT, pc) != ~0U) |
| 265 | return (TRUE); |
| 266 | |
| 267 | return (FALSE); |
| 268 | } |
| 269 | |
| 270 | void |
| 271 | kdb_cpu_set_singlestep(void) |
nothing calls this directly
no test coverage detected