Lines Matching refs:pc
49 insn_size_t op = __raw_readw(linux_regs->pc); in get_step_address()
55 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
57 addr = linux_regs->pc + 2; in get_step_address()
63 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
65 addr = linux_regs->pc + 4; /* Not in delay slot */ in get_step_address()
71 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
73 addr = linux_regs->pc + 2; in get_step_address()
79 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
81 addr = linux_regs->pc + 4; /* Not in delay slot */ in get_step_address()
86 addr = linux_regs->pc + 4 + OPCODE_BRA_DISP(op); in get_step_address()
90 addr = linux_regs->pc + 4 in get_step_address()
95 addr = linux_regs->pc + 4 + OPCODE_BSR_DISP(op); in get_step_address()
99 addr = linux_regs->pc + 4 in get_step_address()
120 addr = linux_regs->pc + instruction_size(op); in get_step_address()
184 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, pc) },
243 gdb_regs[GDB_PC] = p->thread.pc; in sleeping_thread_to_gdb_regs()
268 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()