Home
last modified time | relevance | path

Searched refs:SIGTRAP (Results 1 – 25 of 74) sorted by relevance

123

/arch/sh/kernel/
A Dtraps.c143 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER()
146 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER()
160 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER()
172 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER()
A Dhw_breakpoint.c341 force_sig_fault(SIGTRAP, TRAP_HWBKPT, in hw_breakpoint_handler()
363 notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP); in BUILD_TRAP_HANDLER()
/arch/arm64/include/asm/
A Dsignal.h18 if (sig == SIGTRAP && si_code == TRAP_BRKPT) in arch_untagged_si_addr()
/arch/s390/kernel/
A Dtraps.c73 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP) in do_per_trap()
77 force_sig_fault(SIGTRAP, TRAP_HWBKPT, (void __force __user *)current->thread.per_event.address); in do_per_trap()
151 force_sig_fault(SIGTRAP, TRAP_BRKPT, location); in illegal_op()
168 if (notify_die(DIE_BPT, "bpt", regs, 0, 3, SIGTRAP) != NOTIFY_STOP) in illegal_op()
/arch/powerpc/kernel/
A Dtraps.c105 case SIGTRAP: return "unhandled trap"; in signame()
1096 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER()
1104 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER_ASYNC()
1112 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER_NMI()
1120 5, SIGTRAP) == NOTIFY_STOP) in DEFINE_INTERRUPT_HANDLER()
1124 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1129 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER()
1141 5, SIGTRAP) == NOTIFY_STOP) in __single_step_exception()
1146 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in __single_step_exception()
2058 5, SIGTRAP) == NOTIFY_STOP) { in DEFINE_INTERRUPT_HANDLER()
[all …]
/arch/arm64/kernel/
A Dkgdb.c239 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_brk_handler()
247 kgdb_handle_exception(1, SIGTRAP, 0, regs); in NOKPROBE_SYMBOL()
258 kgdb_handle_exception(0, SIGTRAP, 0, regs); in kgdb_single_step_handler()
/arch/um/os-Linux/skas/
A Dprocess.c115 #define STUB_DONE_MASK (1 << SIGTRAP)
614 if (sig == SIGTRAP && proc_data->err != 0) { in userspace()
725 case SIGTRAP: in userspace()
759 case SIGTRAP + 0x80: in userspace()
762 case SIGTRAP: in userspace()
763 relay_signal(SIGTRAP, (struct siginfo *)si, regs, NULL); in userspace()
/arch/csky/kernel/
A Dasm-offsets.c80 DEFINE(SIGTRAP, SIGTRAP); in main()
A Dtraps.c180 send_sig(SIGTRAP, current, 0); in do_trap_bkpt()
202 send_sig(SIGTRAP, current, 0); in do_trap_illinsn()
/arch/m68k/include/uapi/asm/
A Dsignal.h22 #define SIGTRAP 5 macro
/arch/parisc/include/uapi/asm/
A Dsignal.h9 #define SIGTRAP 5 macro
/arch/arm/include/uapi/asm/
A Dsignal.h22 #define SIGTRAP 5 macro
/arch/s390/include/uapi/asm/
A Dsignal.h30 #define SIGTRAP 5 macro
/arch/xtensa/include/uapi/asm/
A Dsignal.h39 #define SIGTRAP 5 macro
/arch/mips/include/uapi/asm/
A Dsignal.h29 #define SIGTRAP 5 /* Trace trap (POSIX). */ macro
/arch/x86/include/uapi/asm/
A Dsignal.h26 #define SIGTRAP 5 macro
/arch/um/os-Linux/
A Dstart_up.c162 (WSTOPSIG(status) == (SIGTRAP|0x80))) { in check_sysemu()
175 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu()
215 (WSTOPSIG(status) != (SIGTRAP | 0x80))) in check_ptrace()
A Dsignal.c25 [SIGTRAP] = relay_signal,
189 [SIGTRAP] = sig_handler,
/arch/powerpc/include/uapi/asm/
A Dsignal.h25 #define SIGTRAP 5 macro
/arch/alpha/include/uapi/asm/
A Dsignal.h27 #define SIGTRAP 5 macro
/arch/arm/kernel/
A Dkgdb.c144 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_brk_fn()
152 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_compiled_brk_fn()
/arch/mips/kernel/
A Dtraps.c976 SIGTRAP) == NOTIFY_STOP) in do_trap_or_bp()
981 SIGTRAP) == NOTIFY_STOP) in do_trap_or_bp()
1001 force_sig(SIGTRAP); in do_trap_or_bp()
1016 force_sig(SIGTRAP); in do_trap_or_bp()
1022 force_sig_fault(SIGTRAP, si_code, NULL); in do_trap_or_bp()
1024 force_sig(SIGTRAP); in do_trap_or_bp()
1079 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1085 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1091 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
1097 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp()
[all …]
/arch/hexagon/kernel/
A Dtraps.c399 force_sig_fault(SIGTRAP, TRAP_BRKPT, in do_trap0()
403 kgdb_handle_exception(pt_cause(regs), SIGTRAP, in do_trap0()
/arch/arc/kernel/
A Dtraps.c74 DO_ERROR_INFO(SIGTRAP, "Breakpoint Set", trap_is_brkpt, TRAP_BRKPT)
/arch/parisc/kernel/
A Dtraps.c278 force_sig_fault(SIGTRAP, wot, in handle_gdb_break()
313 kgdb_handle_exception(9, SIGTRAP, 0, regs); in handle_break()
424 (void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP); in parisc_terminate()
543 kgdb_handle_exception(0, SIGTRAP, 0, regs); in handle_interruption()

Completed in 45 milliseconds

123