| /OK3568_Linux_fs/kernel/arch/sh/kernel/ |
| H A D | traps.c | 141 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-signal-sigreturn-nt.c | 39 sigaction(SIGTRAP, &trap_sa, NULL); in tm_signal_sigreturn_nt() 41 raise(SIGTRAP); in tm_signal_sigreturn_nt()
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | traps.c | 69 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()
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | start_up.c | 179 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()
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | traps.c | 107 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", ®s, vector, si_code, SIGTRAP) in ia64_fault() 544 force_sig_fault(SIGTRAP, si_code, (void __user *) ifa, in ia64_fault()
|
| H A D | brl_emu.c | 206 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tracehook.h | 66 ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)); in ptrace_report_syscall() 146 ptrace_notify(SIGTRAP); in tracehook_signal_handler()
|
| H A D | ptrace.h | 152 ptrace_notify((event << 8) | SIGTRAP); in ptrace_event() 156 send_sig(SIGTRAP, current, 0); in ptrace_event() 346 info.si_signo = SIGTRAP; in user_single_step_report()
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/skas/ |
| H A D | process.c | 54 #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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | traps.c | 103 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() 1495 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in program_check_exception() 1511 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | kgdb.c | 236 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_brk_fn() 244 kgdb_handle_exception(1, SIGTRAP, 0, regs); in NOKPROBE_SYMBOL() 255 kgdb_handle_exception(0, SIGTRAP, 0, regs); in kgdb_step_brk_fn()
|
| H A D | debug-monitors.c | 237 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/x86/ |
| H A D | fsgsbase.c | 464 raise(SIGTRAP); in test_ptrace_write_gs_read_base() 470 if (WSTOPSIG(status) == SIGTRAP) { in test_ptrace_write_gs_read_base() 524 raise(SIGTRAP); in test_ptrace_write_gsbase() 530 if (WSTOPSIG(status) == SIGTRAP) { in test_ptrace_write_gsbase()
|
| H A D | single_step_syscall.c | 95 [SIGTRAP] = "SIGTRAP", 152 sethandler(SIGTRAP, sigtrap, 0); in main()
|
| H A D | sigreturn.c | 491 if (asm_ss != sig_ss && sig == SIGTRAP) { in sigtrap() 542 clearhandler(SIGTRAP); in test_nonstrict_ss() 781 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main() 831 clearhandler(SIGTRAP); in main()
|
| H A D | mov_ss_trap.c | 113 [SIGTRAP] = "SIGTRAP", 155 sethandler(SIGTRAP, sigtrap, 0); in main()
|
| /OK3568_Linux_fs/kernel/kernel/debug/kdb/ |
| H A D | kdb_debugger.c | 72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP) in kdb_stub() 110 ks->signo == SIGTRAP) { in kdb_stub()
|
| /OK3568_Linux_fs/kernel/arch/riscv/kernel/ |
| H A D | traps.c | 153 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->epc); in do_trap_break() 155 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in do_trap_break()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/lib/ |
| H A D | kgdb.c | 56 { 0x700, SIGTRAP }, /* breakpoint trap */ 62 { 0xd00, SIGTRAP }, /* single-step/watch */
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | traps.c | 967 SIGTRAP) == NOTIFY_STOP) in do_trap_or_bp() 972 SIGTRAP) == NOTIFY_STOP) in do_trap_or_bp() 992 force_sig(SIGTRAP); in do_trap_or_bp() 1007 force_sig(SIGTRAP); in do_trap_or_bp() 1013 force_sig_fault(SIGTRAP, si_code, NULL); in do_trap_or_bp() 1015 force_sig(SIGTRAP); in do_trap_or_bp() 1074 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1080 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1086 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1092 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() [all …]
|
| /OK3568_Linux_fs/kernel/arch/csky/kernel/ |
| H A D | asm-offsets.c | 82 DEFINE(SIGTRAP, SIGTRAP); in main()
|
| H A D | traps.c | 181 send_sig(SIGTRAP, current, 0); in do_trap_bkpt() 203 send_sig(SIGTRAP, current, 0); in do_trap_illinsn()
|
| /OK3568_Linux_fs/kernel/arch/arm64/mm/ |
| H A D | fault.c | 889 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware breakpoint" }, 890 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware single-step" }, 891 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware watchpoint" }, 893 { do_bad, SIGTRAP, TRAP_BRKPT, "aarch32 BKPT" }, 895 { early_brk64, SIGTRAP, TRAP_BRKPT, "aarch64 BRK" },
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | signal.h | 18 if (sig == SIGTRAP && si_code == TRAP_BRKPT) in arch_untagged_si_addr()
|
| /OK3568_Linux_fs/kernel/arch/parisc/kernel/ |
| H A D | traps.c | 278 force_sig_fault(SIGTRAP, wot, in handle_gdb_break() 310 kgdb_handle_exception(9, SIGTRAP, 0, regs); in handle_break() 418 (void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP); in parisc_terminate() 548 kgdb_handle_exception(0, SIGTRAP, 0, regs); in handle_interruption()
|