Home
last modified time | relevance | path

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

1234

/arch/sh/kernel/
Dtraps.c141 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER()
144 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER()
158 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER()
170 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER()
/arch/s390/kernel/
Dtraps.c69 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP) in do_per_trap()
73 force_sig_fault(SIGTRAP, TRAP_HWBKPT, in do_per_trap()
160 force_sig_fault(SIGTRAP, TRAP_BRKPT, location); in illegal_op()
177 3, SIGTRAP) != NOTIFY_STOP) in illegal_op()
/arch/um/os-Linux/
Dstart_up.c179 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP)) in check_sysemu()
221 (WSTOPSIG(status) == (SIGTRAP|0x80))) { in check_sysemu()
234 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu()
279 (WSTOPSIG(status) != (SIGTRAP | 0x80))) in check_ptrace()
/arch/arm64/include/asm/
Dsignal.h18 if (sig == SIGTRAP && si_code == TRAP_BRKPT) in arch_untagged_si_addr()
/arch/ia64/kernel/
Dbrl_emu.c206 force_sig_fault(SIGTRAP, TRAP_BRANCH, (void __user *)NULL, in ia64_emulate_brl()
213 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)NULL, in ia64_emulate_brl()
Dtraps.c107 if (notify_die(DIE_BREAK, "break 0", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break()
171 if (notify_die(DIE_BREAK, "bad break", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break()
174 sig = SIGTRAP; code = TRAP_BRKPT; in ia64_bad_break()
541 if (notify_die(DIE_FAULT, "ia64_fault", &regs, vector, si_code, SIGTRAP) in ia64_fault()
544 force_sig_fault(SIGTRAP, si_code, (void __user *) ifa, in ia64_fault()
/arch/h8300/kernel/
Dptrace_s.c43 force_sig(SIGTRAP); in trace_trap()
/arch/um/os-Linux/skas/
Dprocess.c54 #define STUB_DONE_MASK (1 << SIGTRAP)
161 (WSTOPSIG(status) != SIGTRAP + 0x80)) { in handle_trap()
419 case SIGTRAP + 0x80: in userspace()
422 case SIGTRAP: in userspace()
423 relay_signal(SIGTRAP, (struct siginfo *)&si, regs); in userspace()
/arch/ia64/include/uapi/asm/
Dsignal.h17 #define SIGTRAP 5 macro
/arch/arm64/kernel/
Dkgdb.c238 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_brk_fn()
246 kgdb_handle_exception(1, SIGTRAP, 0, regs); in NOKPROBE_SYMBOL()
257 kgdb_handle_exception(0, SIGTRAP, 0, regs); in kgdb_step_brk_fn()
Ddebug-monitors.c237 arm64_force_sig_fault(SIGTRAP, si_code, instruction_pointer(regs), in send_user_sigtrap()
384 hook_debug_fault_code(DBG_ESR_EVT_HWSS, single_step_handler, SIGTRAP, in debug_traps_init()
386 hook_debug_fault_code(DBG_ESR_EVT_BRK, brk_handler, SIGTRAP, in debug_traps_init()
/arch/parisc/include/uapi/asm/
Dsignal.h9 #define SIGTRAP 5 macro
/arch/h8300/include/uapi/asm/
Dsignal.h22 #define SIGTRAP 5 macro
/arch/m68k/include/uapi/asm/
Dsignal.h22 #define SIGTRAP 5 macro
/arch/riscv/kernel/
Dtraps.c157 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->epc); in do_trap_break()
159 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in do_trap_break()
/arch/arm/include/uapi/asm/
Dsignal.h22 #define SIGTRAP 5 macro
/arch/s390/include/uapi/asm/
Dsignal.h30 #define SIGTRAP 5 macro
/arch/xtensa/include/uapi/asm/
Dsignal.h39 #define SIGTRAP 5 macro
/arch/csky/kernel/
Dasm-offsets.c82 DEFINE(SIGTRAP, SIGTRAP); in main()
Dtraps.c181 send_sig(SIGTRAP, current, 0); in do_trap_bkpt()
203 send_sig(SIGTRAP, current, 0); in do_trap_illinsn()
/arch/mips/include/uapi/asm/
Dsignal.h29 #define SIGTRAP 5 /* Trace trap (POSIX). */ macro
/arch/x86/include/uapi/asm/
Dsignal.h27 #define SIGTRAP 5 macro
/arch/powerpc/include/uapi/asm/
Dsignal.h25 #define SIGTRAP 5 macro
/arch/powerpc/kernel/
Dtraps.c103 case SIGTRAP: return "unhandled trap"; in signame()
306 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip); in user_single_step_report()
1103 _exception(SIGTRAP, regs, TRAP_UNK, 0); in unknown_exception()
1113 5, SIGTRAP) == NOTIFY_STOP) in instruction_breakpoint_exception()
1117 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
1125 _exception(SIGTRAP, regs, TRAP_UNK, 0); in RunModeException()
1139 5, SIGTRAP) == NOTIFY_STOP) in single_step_exception()
1144 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
1497 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in program_check_exception()
1513 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception()
[all …]
/arch/alpha/include/uapi/asm/
Dsignal.h27 #define SIGTRAP 5 macro

1234