Home
last modified time | relevance | path

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

12345678

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-22.c63 if (signal(SIGTRAP, handler_1) == SIG_ERR) { in main()
83 ret = sigaction(SIGTRAP, &sa, &save); in main()
91 ret = raise(SIGTRAP); in main()
104 ret = sigaction(SIGTRAP, &save, 0); in main()
112 ret = raise(SIGTRAP); in main()
D3-22.c40 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
46 if (sigaction(SIGTRAP, 0, &oact) == -1) { in main()
52 if (raise(SIGTRAP) == -1) { in main()
D22-22.c54 raise(SIGTRAP); in handler()
71 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
77 if (raise(SIGTRAP) == -1) { in main()
D8-23.c32 raise(SIGTRAP); in SIGURG_handler()
46 sigaddset(&act.sa_mask, SIGTRAP); in main()
56 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
D25-22.c53 raise(SIGTRAP); in handler()
70 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
76 if (raise(SIGTRAP) == -1) { in main()
D19-22.c52 if (info->si_signo != SIGTRAP) { in handler()
87 ret = sigaction(SIGTRAP, &sa, 0); in main()
100 ret = raise(SIGTRAP); in main()
D1-22.c40 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
46 if (raise(SIGTRAP) == -1) { in main()
D6-22.c38 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
44 if (raise(SIGTRAP) == -1) { in main()
D18-22.c67 ret = sigaction(SIGTRAP, &sa, 0); in main()
80 ret = raise(SIGTRAP); in main()
D2-22.c40 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
48 if (sigaction(SIGTRAP, &act, &oact) == -1) { in main()
D4-22.c54 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
60 if (raise(SIGTRAP) == -1) { in main()
D13-22.c51 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
63 if (raise(SIGTRAP) == -1) { in main()
D12-48.c50 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
62 if (raise(SIGTRAP) == -1) { in main()
D4-48.c53 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
59 if (raise(SIGTRAP) == -1) { in main()
D8-22.c47 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
62 if (raise(SIGTRAP) == -1) { in main()
D12-22.c52 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
72 if (raise(SIGTRAP) == -1) { in main()
D17-22.c48 sigaction(SIGTRAP, &act, 0); in main()
82 kill(pid, SIGTRAP); in main()
/external/llvm-project/lldb/test/API/functionalities/signal/raise/
Dmain.c13 if (signal(SIGTRAP, handler) == SIG_ERR) in main()
36 raise(SIGTRAP); in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-signal-sigreturn-nt.c39 sigaction(SIGTRAP, &trap_sa, NULL); in tm_signal_sigreturn_nt()
41 raise(SIGTRAP); in tm_signal_sigreturn_nt()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_trap_handler.cpp24 sigaction(SIGTRAP, &a, &old); in main()
27 sigaction(SIGTRAP, 0, &a); in main()
/external/ltp/testcases/misc/crash/
Dcrash02.c312 #ifdef SIGTRAP in again_handler()
313 case SIGTRAP: in again_handler()
368 #ifdef SIGTRAP in set_up_signals()
369 my_signal(SIGTRAP, again_handler); in set_up_signals()
Dcrash01.c364 #ifdef SIGTRAP in again_handler()
365 case SIGTRAP: in again_handler()
420 #ifdef SIGTRAP in set_up_signals()
421 my_signal(SIGTRAP, again_handler); in set_up_signals()
/external/rust/crates/nix/test/sys/
Dtest_wait.rs76 raise(SIGTRAP).unwrap(); in ptrace_child()
82 assert_eq!(waitpid(child, None), Ok(WaitStatus::Stopped(child, SIGTRAP))); in ptrace_parent()
91 …assert_eq!(waitpid(child, None), Ok(WaitStatus::PtraceEvent(child, SIGTRAP, Event::PTRACE_EVENT_EX… in ptrace_parent()
/external/ltp/lib/
Dsigname.h25 #ifdef SIGTRAP in tst_strsig()
26 PAIR(SIGTRAP) in tst_strsig()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeThreadFreeBSD.cpp98 m_stop_info.details.signal.signo = SIGTRAP; in SetStoppedByBreakpoint()
104 m_stop_info.details.signal.signo = SIGTRAP; in SetStoppedByTrace()
110 m_stop_info.details.signal.signo = SIGTRAP; in SetStoppedByExec()
125 m_stop_info.details.signal.signo = SIGTRAP; in SetStoppedByWatchpoint()

12345678