Lines Matching defs:instr
103 u32 *instr;
708 regs_set_return_ip(regs, (unsigned long) &bp->instr[0]);
716 int stepped = emulate_step(regs, ppc_inst_read(bp->instr));
718 regs_set_return_ip(regs, (unsigned long) &bp->instr[0]);
722 IS_RFID(ppc_inst_read(bp->instr))? "rfid": "mtmsrd");
769 /* Are we at the trap at bp->instr[1] for some bp? */
897 bp->instr = (void *)(bpt_table + ((bp - bpts) * BPT_WORDS));
909 ppc_inst_t instr, instr2;
916 if (!mread_instr(bp->address, &instr)) {
922 if (!can_single_step(ppc_inst_val(instr))) {
944 if (bp2 && ppc_inst_prefixed(ppc_inst_read(bp2->instr))) {
951 patch_instruction(bp->instr, instr);
952 patch_instruction(ppc_inst_next(bp->instr, bp->instr),
989 ppc_inst_t instr;
995 if (mread_instr(bp->address, &instr)
996 && ppc_inst_equal(instr, ppc_inst(bpinstr))
998 (u32 *)bp->address, ppc_inst_read(bp->instr)) != 0)
1205 ppc_inst_t instr;
1211 if (mread_instr(regs->nip, &instr)) {
1212 stepped = emulate_step(regs, instr);
1215 (IS_RFID(instr)? "rfid": "mtmsrd"));
1459 ppc_inst_t instr;
1466 if (!mread_instr(addr, &instr)) {
1470 if (!can_single_step(ppc_inst_val(instr))) {
1509 "b <addr> [cnt] set breakpoint at given instr addr\n"
1512 "bi <addr> [cnt] set hardware instr breakpoint (POWER8 only)\n"
1564 case 'i': /* bi - hardware instr breakpoint */
2304 mread_instr(unsigned long adrs, ppc_inst_t *instr)
2312 *instr = ppc_inst_read((u32 *)adrs);
2316 n = ppc_inst_len(*instr);