Home
last modified time | relevance | path

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

/linux/arch/sh/kernel/
A Dkgdb.c54 if (linux_regs->sr & SR_T_BIT_MASK) 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()
73 addr = linux_regs->pc + 2; in get_step_address()
90 addr = linux_regs->pc + 4 in get_step_address()
99 addr = linux_regs->pc + 4 in get_step_address()
112 addr = linux_regs->pr; in get_step_address()
116 addr = linux_regs->regs[15]; in get_step_address()
260 undo_single_step(linux_regs); in kgdb_arch_handle_exception()
268 linux_regs->pc = addr; in kgdb_arch_handle_exception()
[all …]
/linux/arch/sparc/kernel/
A Dkgdb_32.c112 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
122 linux_regs->pc = addr; in kgdb_arch_handle_exception()
123 linux_regs->npc = addr + 4; in kgdb_arch_handle_exception()
129 if (linux_regs->pc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()
130 linux_regs->pc = linux_regs->npc; in kgdb_arch_handle_exception()
131 linux_regs->npc += 4; in kgdb_arch_handle_exception()
A Dkgdb_64.c138 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
148 linux_regs->tpc = addr; in kgdb_arch_handle_exception()
149 linux_regs->tnpc = addr + 4; in kgdb_arch_handle_exception()
155 if (linux_regs->tpc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()
156 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception()
157 linux_regs->tnpc += 4; in kgdb_arch_handle_exception()
/linux/kernel/debug/kdb/
A Dkdb_debugger.c57 unsigned long addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kdb_stub()
66 addr = instruction_pointer(ks->linux_regs); in kdb_stub()
82 if (addr != instruction_pointer(ks->linux_regs)) in kdb_stub()
83 kgdb_arch_set_pc(ks->linux_regs, addr); in kdb_stub()
135 ks->err_code, db_result, ks->linux_regs); in kdb_stub()
148 kdb_bp_install(ks->linux_regs); in kdb_stub()
/linux/kernel/debug/
A Dgdbstub.c549 gdb_regs_to_pt_regs(gdb_regs, ks->linux_regs); in gdb_cmd_setregs()
620 !dbg_get_reg(regnum, gdb_regs, ks->linux_regs)) { in gdb_cmd_reg_set()
632 dbg_set_reg(regnum, gdb_regs, ks->linux_regs); in gdb_cmd_reg_set()
754 if (!getthread(ks->linux_regs, ks->threadid)) { in gdb_cmd_query()
759 kgdb_mem2hex(getthread(ks->linux_regs, in gdb_cmd_query()
818 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
833 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
852 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_thread()
1069 ks->linux_regs); in gdb_serial_stub()
1103 ks->linux_regs); in gdbstub_state()
A Ddebug_core.c535 addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check()
546 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check()
554 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check()
697 if (kgdb_skipexception(ks->ex_vector, ks->linux_regs)) in kgdb_cpu_enter()
846 ks->linux_regs = regs; in kgdb_handle_exception()
884 ks->linux_regs = regs; in kgdb_nmicallback()
912 ks->linux_regs = regs; in kgdb_nmicallin()
A Ddebug_core.h28 struct pt_regs *linux_regs; member
/linux/arch/powerpc/kernel/
A Dkgdb.c383 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
397 regs_set_return_ip(linux_regs, addr); in kgdb_arch_handle_exception()
405 regs_set_return_msr(linux_regs, linux_regs->msr | MSR_DE); in kgdb_arch_handle_exception()
407 regs_set_return_msr(linux_regs, linux_regs->msr | MSR_SE); in kgdb_arch_handle_exception()
/linux/arch/arm64/kernel/
A Dkgdb.c177 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
197 kgdb_arch_update_addr(linux_regs, remcom_in_buffer); in kgdb_arch_handle_exception()
218 kgdb_arch_update_addr(linux_regs, remcom_in_buffer); in kgdb_arch_handle_exception()
226 kernel_enable_single_step(linux_regs); in kgdb_arch_handle_exception()
/linux/arch/arm/kernel/
A Dkgdb.c113 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
130 linux_regs->ARM_pc = addr; in kgdb_arch_handle_exception()
132 linux_regs->ARM_pc += 4; in kgdb_arch_handle_exception()
/linux/arch/x86/kernel/
A Dkgdb.c441 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument
452 linux_regs->ip = addr; in kgdb_arch_handle_exception()
457 linux_regs->flags &= ~X86_EFLAGS_TF; in kgdb_arch_handle_exception()
462 linux_regs->flags |= X86_EFLAGS_TF; in kgdb_arch_handle_exception()
/linux/arch/hexagon/kernel/
A Dkgdb.c143 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument

Completed in 28 milliseconds