linux_regs 113 arch/arm/kernel/kgdb.c struct pt_regs *linux_regs) linux_regs 130 arch/arm/kernel/kgdb.c linux_regs->ARM_pc = addr; linux_regs 132 arch/arm/kernel/kgdb.c linux_regs->ARM_pc += 4; linux_regs 176 arch/arm64/kernel/kgdb.c struct pt_regs *linux_regs) linux_regs 196 arch/arm64/kernel/kgdb.c kgdb_arch_update_addr(linux_regs, remcom_in_buffer); linux_regs 217 arch/arm64/kernel/kgdb.c kgdb_arch_update_addr(linux_regs, remcom_in_buffer); linux_regs 225 arch/arm64/kernel/kgdb.c kernel_enable_single_step(linux_regs); linux_regs 143 arch/hexagon/kernel/kgdb.c struct pt_regs *linux_regs) linux_regs 382 arch/powerpc/kernel/kgdb.c struct pt_regs *linux_regs) linux_regs 396 arch/powerpc/kernel/kgdb.c linux_regs->nip = addr; linux_regs 404 arch/powerpc/kernel/kgdb.c linux_regs->msr |= MSR_DE; linux_regs 406 arch/powerpc/kernel/kgdb.c linux_regs->msr |= MSR_SE; linux_regs 47 arch/sh/kernel/kgdb.c static short *get_step_address(struct pt_regs *linux_regs) linux_regs 49 arch/sh/kernel/kgdb.c insn_size_t op = __raw_readw(linux_regs->pc); linux_regs 54 arch/sh/kernel/kgdb.c if (linux_regs->sr & SR_T_BIT_MASK) linux_regs 55 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); linux_regs 57 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 2; linux_regs 62 arch/sh/kernel/kgdb.c if (linux_regs->sr & SR_T_BIT_MASK) linux_regs 63 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); linux_regs 65 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4; /* Not in delay slot */ linux_regs 70 arch/sh/kernel/kgdb.c if (!(linux_regs->sr & SR_T_BIT_MASK)) linux_regs 71 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); linux_regs 73 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 2; linux_regs 78 arch/sh/kernel/kgdb.c if (!(linux_regs->sr & SR_T_BIT_MASK)) linux_regs 79 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); linux_regs 81 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4; /* Not in delay slot */ linux_regs 86 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BRA_DISP(op); linux_regs 90 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 linux_regs 91 arch/sh/kernel/kgdb.c + linux_regs->regs[OPCODE_BRAF_REG(op)]; linux_regs 95 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BSR_DISP(op); linux_regs 99 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 linux_regs 100 arch/sh/kernel/kgdb.c + linux_regs->regs[OPCODE_BSRF_REG(op)]; linux_regs 104 arch/sh/kernel/kgdb.c addr = linux_regs->regs[OPCODE_JMP_REG(op)]; linux_regs 108 arch/sh/kernel/kgdb.c addr = linux_regs->regs[OPCODE_JSR_REG(op)]; linux_regs 112 arch/sh/kernel/kgdb.c addr = linux_regs->pr; linux_regs 116 arch/sh/kernel/kgdb.c addr = linux_regs->regs[15]; linux_regs 120 arch/sh/kernel/kgdb.c addr = linux_regs->pc + instruction_size(op); linux_regs 138 arch/sh/kernel/kgdb.c static void do_single_step(struct pt_regs *linux_regs) linux_regs 141 arch/sh/kernel/kgdb.c unsigned short *addr = get_step_address(linux_regs); linux_regs 155 arch/sh/kernel/kgdb.c static void undo_single_step(struct pt_regs *linux_regs) linux_regs 254 arch/sh/kernel/kgdb.c struct pt_regs *linux_regs) linux_regs 260 arch/sh/kernel/kgdb.c undo_single_step(linux_regs); linux_regs 268 arch/sh/kernel/kgdb.c linux_regs->pc = addr; linux_regs 274 arch/sh/kernel/kgdb.c do_single_step(linux_regs); linux_regs 112 arch/sparc/kernel/kgdb_32.c struct pt_regs *linux_regs) linux_regs 122 arch/sparc/kernel/kgdb_32.c linux_regs->pc = addr; linux_regs 123 arch/sparc/kernel/kgdb_32.c linux_regs->npc = addr + 4; linux_regs 129 arch/sparc/kernel/kgdb_32.c if (linux_regs->pc == (unsigned long) arch_kgdb_breakpoint) { linux_regs 130 arch/sparc/kernel/kgdb_32.c linux_regs->pc = linux_regs->npc; linux_regs 131 arch/sparc/kernel/kgdb_32.c linux_regs->npc += 4; linux_regs 138 arch/sparc/kernel/kgdb_64.c struct pt_regs *linux_regs) linux_regs 148 arch/sparc/kernel/kgdb_64.c linux_regs->tpc = addr; linux_regs 149 arch/sparc/kernel/kgdb_64.c linux_regs->tnpc = addr + 4; linux_regs 155 arch/sparc/kernel/kgdb_64.c if (linux_regs->tpc == (unsigned long) arch_kgdb_breakpoint) { linux_regs 156 arch/sparc/kernel/kgdb_64.c linux_regs->tpc = linux_regs->tnpc; linux_regs 157 arch/sparc/kernel/kgdb_64.c linux_regs->tnpc += 4; linux_regs 441 arch/x86/kernel/kgdb.c struct pt_regs *linux_regs) linux_regs 452 arch/x86/kernel/kgdb.c linux_regs->ip = addr; linux_regs 457 arch/x86/kernel/kgdb.c linux_regs->flags &= ~X86_EFLAGS_TF; linux_regs 462 arch/x86/kernel/kgdb.c linux_regs->flags |= X86_EFLAGS_TF; linux_regs 481 kernel/debug/debug_core.c addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); linux_regs 492 kernel/debug/debug_core.c kgdb_skipexception(ks->ex_vector, ks->linux_regs); linux_regs 500 kernel/debug/debug_core.c kgdb_skipexception(ks->ex_vector, ks->linux_regs); linux_regs 634 kernel/debug/debug_core.c if (kgdb_skipexception(ks->ex_vector, ks->linux_regs)) linux_regs 775 kernel/debug/debug_core.c ks->linux_regs = regs; linux_regs 812 kernel/debug/debug_core.c ks->linux_regs = regs; linux_regs 839 kernel/debug/debug_core.c ks->linux_regs = regs; linux_regs 28 kernel/debug/debug_core.h struct pt_regs *linux_regs; linux_regs 552 kernel/debug/gdbstub.c gdb_regs_to_pt_regs(gdb_regs, ks->linux_regs); linux_regs 623 kernel/debug/gdbstub.c !dbg_get_reg(regnum, gdb_regs, ks->linux_regs)) { linux_regs 635 kernel/debug/gdbstub.c dbg_set_reg(regnum, gdb_regs, ks->linux_regs); linux_regs 757 kernel/debug/gdbstub.c if (!getthread(ks->linux_regs, ks->threadid)) { linux_regs 762 kernel/debug/gdbstub.c kgdb_mem2hex(getthread(ks->linux_regs, linux_regs 808 kernel/debug/gdbstub.c thread = getthread(ks->linux_regs, ks->threadid); linux_regs 823 kernel/debug/gdbstub.c thread = getthread(ks->linux_regs, ks->threadid); linux_regs 842 kernel/debug/gdbstub.c thread = getthread(ks->linux_regs, ks->threadid); linux_regs 1060 kernel/debug/gdbstub.c ks->linux_regs); linux_regs 1094 kernel/debug/gdbstub.c ks->linux_regs); linux_regs 57 kernel/debug/kdb/kdb_debugger.c unsigned long addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); linux_regs 66 kernel/debug/kdb/kdb_debugger.c addr = instruction_pointer(ks->linux_regs); linux_regs 82 kernel/debug/kdb/kdb_debugger.c if (addr != instruction_pointer(ks->linux_regs)) linux_regs 83 kernel/debug/kdb/kdb_debugger.c kgdb_arch_set_pc(ks->linux_regs, addr); linux_regs 135 kernel/debug/kdb/kdb_debugger.c ks->err_code, db_result, ks->linux_regs); linux_regs 149 kernel/debug/kdb/kdb_debugger.c kdb_bp_install(ks->linux_regs);