Lines Matching refs:instr
103 u32 *instr;
706 regs_set_return_ip(regs, (unsigned long) &bp->instr[0]);
714 int stepped = emulate_step(regs, ppc_inst_read(bp->instr));
716 regs_set_return_ip(regs, (unsigned long) &bp->instr[0]);
720 IS_RFID(ppc_inst_read(bp->instr))? "rfid": "mtmsrd");
767 /* Are we at the trap at bp->instr[1] for some bp? */
895 bp->instr = (void *)(bpt_table + ((bp - bpts) * BPT_WORDS));
907 ppc_inst_t instr, instr2;
914 if (!mread_instr(bp->address, &instr)) {
920 if (!can_single_step(ppc_inst_val(instr))) {
942 if (bp2 && ppc_inst_prefixed(ppc_inst_read(bp2->instr))) {
949 patch_instruction(bp->instr, instr);
950 patch_instruction(ppc_inst_next(bp->instr, bp->instr),
987 ppc_inst_t instr;
993 if (mread_instr(bp->address, &instr)
994 && ppc_inst_equal(instr, ppc_inst(bpinstr))
996 (u32 *)bp->address, ppc_inst_read(bp->instr)) != 0)
1203 ppc_inst_t instr;
1209 if (mread_instr(regs->nip, &instr)) {
1210 stepped = emulate_step(regs, instr);
1213 (IS_RFID(instr)? "rfid": "mtmsrd"));
1457 ppc_inst_t instr;
1464 if (!mread_instr(addr, &instr)) {
1468 if (!can_single_step(ppc_inst_val(instr))) {
1507 "b <addr> [cnt] set breakpoint at given instr addr\n"
1510 "bi <addr> [cnt] set hardware instr breakpoint (POWER8 only)\n"
1562 case 'i': /* bi - hardware instr breakpoint */
2302 mread_instr(unsigned long adrs, ppc_inst_t *instr)
2310 *instr = ppc_inst_read((u32 *)adrs);
2314 n = ppc_inst_len(*instr);