Home
last modified time | relevance | path

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

12345

/arch/arm64/kernel/
Ddebug-monitors.c246 info.si_signo = SIGTRAP; in single_step_handler()
250 force_sig_info(SIGTRAP, &info, current); in single_step_handler()
322 .si_signo = SIGTRAP, in brk_handler()
328 force_sig_info(SIGTRAP, &info, current); in brk_handler()
362 .si_signo = SIGTRAP, in aarch32_break_handler()
368 force_sig_info(SIGTRAP, &info, current); in aarch32_break_handler()
374 hook_debug_fault_code(DBG_ESR_EVT_HWSS, single_step_handler, SIGTRAP, in debug_traps_init()
376 hook_debug_fault_code(DBG_ESR_EVT_BRK, brk_handler, SIGTRAP, in debug_traps_init()
Dkgdb.c218 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_brk_fn()
225 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_compiled_brk_fn()
232 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_step_brk_fn()
/arch/sh/kernel/
Dtraps.c135 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER()
138 force_sig(SIGTRAP, current); in BUILD_TRAP_HANDLER()
152 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER()
164 force_sig(SIGTRAP, current); in BUILD_TRAP_HANDLER()
/arch/ia64/kernel/
Dbrl_emu.c211 siginfo.si_signo = SIGTRAP; in ia64_emulate_brl()
218 force_sig_info(SIGTRAP, &siginfo, current); in ia64_emulate_brl()
224 siginfo.si_signo = SIGTRAP; in ia64_emulate_brl()
231 force_sig_info(SIGTRAP, &siginfo, current); in ia64_emulate_brl()
Dtraps.c110 if (notify_die(DIE_BREAK, "break 0", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break()
174 if (notify_die(DIE_BREAK, "bad break", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break()
177 sig = SIGTRAP; code = TRAP_BRKPT; in ia64_bad_break()
565 if (notify_die(DIE_FAULT, "ia64_fault", &regs, vector, siginfo.si_code, SIGTRAP) in ia64_fault()
568 siginfo.si_signo = SIGTRAP; in ia64_fault()
574 force_sig_info(SIGTRAP, &siginfo, current); in ia64_fault()
/arch/blackfin/kernel/
Dtraps.c114 sig = SIGTRAP; in trap_c()
132 sig = SIGTRAP; in trap_c()
160 sig = SIGTRAP; in trap_c()
170 sig = SIGTRAP; in trap_c()
276 sig = SIGTRAP; in trap_c()
434 if (sig != SIGTRAP) { in trap_c()
/arch/s390/kernel/
Dtraps.c97 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP) in do_per_trap()
101 info.si_signo = SIGTRAP; in do_per_trap()
106 force_sig_info(SIGTRAP, &info, current); in do_per_trap()
190 info.si_signo = SIGTRAP; in illegal_op()
194 force_sig_info(SIGTRAP, &info, current); in illegal_op()
228 3, SIGTRAP) != NOTIFY_STOP) in illegal_op()
/arch/avr32/kernel/
Dptrace.c201 ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
255 if (notify_die(die_val, "ptrace", regs, 0, 0, SIGTRAP) in do_debug()
338 regs, SIGTRAP); in do_debug()
353 _exception(SIGTRAP, regs, code, instruction_pointer(regs)); in do_debug()
/arch/arm64/mm/
Dfault.c486 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware breakpoint" },
487 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware single-step" },
488 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware watchpoint" },
490 { do_bad, SIGTRAP, TRAP_BRKPT, "aarch32 BKPT" },
491 { do_bad, SIGTRAP, 0, "aarch32 vector catch" },
492 { do_bad, SIGTRAP, TRAP_BRKPT, "aarch64 BRK" },
/arch/tile/kernel/
Dtraps.c122 *sigp = SIGTRAP; in special_ill()
182 case SIGTRAP: in special_ill()
345 if (signo != SIGTRAP) in do_trap()
/arch/um/os-Linux/
Dstart_up.c216 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP)) in check_sysemu()
258 (WSTOPSIG(status) == (SIGTRAP|0x80))) { in check_sysemu()
271 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu()
316 (WSTOPSIG(status) != (SIGTRAP | 0x80))) in check_ptrace()
/arch/ia64/include/uapi/asm/
Dsignal.h16 #define SIGTRAP 5 macro
/arch/um/kernel/
Dptrace.c152 info.si_signo = SIGTRAP; in send_sigtrap()
159 force_sig_info(SIGTRAP, &info, tsk); in send_sigtrap()
/arch/hexagon/kernel/
Dtraps.c415 info.si_signo = SIGTRAP; in do_trap0()
426 send_sig_info(SIGTRAP, &info, current); in do_trap0()
429 kgdb_handle_exception(pt_cause(regs), SIGTRAP, in do_trap0()
/arch/mn10300/kernel/
Dtraps.c66 [EXCEP_TRAP >> 3] = { SIGTRAP, TRAP_BRKPT },
67 [EXCEP_ISTEP >> 3] = { SIGTRAP, TRAP_TRACE }, /* Monitor */
68 [EXCEP_IBREAK >> 3] = { SIGTRAP, TRAP_HWBKPT }, /* Monitor */
69 [EXCEP_OBREAK >> 3] = { SIGTRAP, TRAP_HWBKPT }, /* Monitor */
166 signo = SIGTRAP; in die_if_no_fixup()
/arch/m32r/include/uapi/asm/
Dsignal.h23 #define SIGTRAP 5 macro
/arch/h8300/include/uapi/asm/
Dsignal.h21 #define SIGTRAP 5 macro
/arch/mn10300/include/uapi/asm/
Dsignal.h31 #define SIGTRAP 5 macro
/arch/mips/include/uapi/asm/
Dsignal.h28 #define SIGTRAP 5 /* Trace trap (POSIX). */ macro
/arch/m68k/include/uapi/asm/
Dsignal.h21 #define SIGTRAP 5 macro
/arch/avr32/include/uapi/asm/
Dsignal.h28 #define SIGTRAP 5 macro
/arch/cris/include/uapi/asm/
Dsignal.h21 #define SIGTRAP 5 macro
/arch/sparc/kernel/
Dsys_sparc_32.c151 info.si_signo = SIGTRAP; in sparc_breakpoint()
156 force_sig_info(SIGTRAP, &info, current); in sparc_breakpoint()
/arch/parisc/include/uapi/asm/
Dsignal.h8 #define SIGTRAP 5 macro
/arch/arm/include/uapi/asm/
Dsignal.h21 #define SIGTRAP 5 macro

12345