Home
last modified time | relevance | path

Searched refs:linux_regs (Results 1 – 7 of 7) sorted by relevance

/arch/sh/kernel/
Dkgdb.c47 static short *get_step_address(struct pt_regs *linux_regs) in get_step_address() argument
49 insn_size_t op = __raw_readw(linux_regs->pc); in get_step_address()
54 if (linux_regs->sr & SR_T_BIT_MASK) 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()
62 if (linux_regs->sr & SR_T_BIT_MASK) 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()
70 if (!(linux_regs->sr & SR_T_BIT_MASK)) in get_step_address()
71 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()
[all …]
/arch/sparc/kernel/
Dkgdb_32.c109 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
119 linux_regs->pc = addr; in kgdb_arch_handle_exception()
120 linux_regs->npc = addr + 4; in kgdb_arch_handle_exception()
126 if (linux_regs->pc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()
127 linux_regs->pc = linux_regs->npc; in kgdb_arch_handle_exception()
128 linux_regs->npc += 4; in kgdb_arch_handle_exception()
Dkgdb_64.c134 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
144 linux_regs->tpc = addr; in kgdb_arch_handle_exception()
145 linux_regs->tnpc = addr + 4; in kgdb_arch_handle_exception()
151 if (linux_regs->tpc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()
152 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception()
153 linux_regs->tnpc += 4; in kgdb_arch_handle_exception()
/arch/arm/kernel/
Dkgdb.c116 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
133 linux_regs->ARM_pc = addr; in kgdb_arch_handle_exception()
135 linux_regs->ARM_pc += 4; in kgdb_arch_handle_exception()
/arch/powerpc/kernel/
Dkgdb.c387 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
401 linux_regs->nip = addr; in kgdb_arch_handle_exception()
409 linux_regs->msr |= MSR_DE; in kgdb_arch_handle_exception()
411 linux_regs->msr |= MSR_SE; in kgdb_arch_handle_exception()
/arch/x86/kernel/
Dkgdb.c463 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
474 linux_regs->ip = addr; in kgdb_arch_handle_exception()
478 linux_regs->flags &= ~X86_EFLAGS_TF; in kgdb_arch_handle_exception()
483 linux_regs->flags |= X86_EFLAGS_TF; in kgdb_arch_handle_exception()
/arch/hexagon/kernel/
Dkgdb.c183 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument