Lines Matching refs:pc
50 insn_size_t op = __raw_readw(linux_regs->pc); in get_step_address()
56 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
58 addr = linux_regs->pc + 2; in get_step_address()
64 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
66 addr = linux_regs->pc + 4; /* Not in delay slot */ in get_step_address()
72 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
74 addr = linux_regs->pc + 2; in get_step_address()
80 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
82 addr = linux_regs->pc + 4; /* Not in delay slot */ in get_step_address()
87 addr = linux_regs->pc + 4 + OPCODE_BRA_DISP(op); in get_step_address()
91 addr = linux_regs->pc + 4 in get_step_address()
96 addr = linux_regs->pc + 4 + OPCODE_BSR_DISP(op); in get_step_address()
100 addr = linux_regs->pc + 4 in get_step_address()
121 addr = linux_regs->pc + instruction_size(op); in get_step_address()
185 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, pc) },
244 gdb_regs[GDB_PC] = p->thread.pc; in sleeping_thread_to_gdb_regs()
269 linux_regs->pc = addr; in kgdb_arch_handle_exception()
298 regs->pc = ip; in kgdb_arch_set_pc()
310 regs->pc -= instruction_size(__raw_readw(regs->pc - 4)); in BUILD_TRAP_HANDLER()