* To do a single step ddb needs to know the next address * that we will get to. It means that we need to find out * both the address for a branch taken and for not taken, NOT! :-) * MipsEmulateBranch will do the job to find out _exactly_ which * address we will end up at so the 'dual bp' method is not * requiered. */
| 236 | * requiered. |
| 237 | */ |
| 238 | db_addr_t |
| 239 | next_instr_address(db_addr_t pc, boolean_t bd) |
| 240 | { |
| 241 | db_addr_t next; |
| 242 | |
| 243 | next = (db_addr_t)MipsEmulateBranch(kdb_frame, pc, 0, 0); |
| 244 | return (next); |
| 245 | } |
| 246 | |
| 247 | /* |
| 248 | * Decode instruction and figure out type. |
no test coverage detected