| 312 | } |
| 313 | |
| 314 | u_int |
| 315 | branch_taken(u_int insn, db_addr_t pc) |
| 316 | { |
| 317 | register_t new_pc; |
| 318 | int ret; |
| 319 | |
| 320 | ret = arm_predict_branch(NULL, insn, (register_t)pc, &new_pc, |
| 321 | db_branch_taken_fetch_reg, db_branch_taken_read_int); |
| 322 | |
| 323 | if (ret != 0) |
| 324 | kdb_reenter(); |
| 325 | |
| 326 | return (new_pc); |
| 327 | } |
no test coverage detected