Home
last modified time | relevance | path

Searched refs:WSTOPSIG (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-12.1/tests/sys/kern/
H A Dptrace_test.c130 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in attach_child()
189 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
630 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
686 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
737 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
1097 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
1160 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
1238 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
2148 if (WSTOPSIG(status) == SIGTRAP) { in ATF_TC_BODY()
2633 ATF_REQUIRE(WSTOPSIG(status) == SIGINT); in ATF_TC_BODY()
[all …]
H A Dpdeathsig.c297 assert(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
311 assert(WSTOPSIG(status) == SIGINFO); in ATF_TC_BODY()
314 WSTOPSIG(status)); in ATF_TC_BODY()
/freebsd-12.1/contrib/gdb/gdb/
H A Dlin-lwp.c140 strsignal (WSTOPSIG (status))); in status_to_str()
143 strsignal (WSTOPSIG (status))); in status_to_str()
325 && WIFSTOPPED (status) && WSTOPSIG (status)); in lin_lwp_attach_lwp()
400 strsignal (WSTOPSIG (lp->status)), in detach_callback()
407 WSTOPSIG (lp->status)) < 0) in detach_callback()
436 WSTOPSIG (lp->status)) < 0) in detach_callback()
444 strsignal (WSTOPSIG (lp->status))); in detach_callback()
732 if (WSTOPSIG (status) != SIGSTOP) in stop_wait_callback()
734 if (WSTOPSIG (status) == SIGTRAP) in stop_wait_callback()
819 kill_lwp (GET_LWP (lp->ptid), WSTOPSIG (status)); in stop_wait_callback()
[all …]
H A Dgdb_wait.h76 #ifndef WSTOPSIG
77 #define WSTOPSIG WEXITSTATUS macro
H A Dlynx-nat.c438 && WSTOPSIG (status) == SIGTRAP in child_wait()
460 && WSTOPSIG (status) == SIGTRAP in child_wait()
495 target_signal_from_host (WSTOPSIG (status)); in child_wait()
/freebsd-12.1/contrib/bmake/
H A Dwait.h33 # define WSTOPSIG(x) ((&x)->w_stopsig) macro
53 #ifndef WSTOPSIG
54 # define WSTOPSIG(x) WSTOPPED macro
H A Dcompat.c429 status = WSTOPSIG(reason); /* stopped */ in CompatRunCommand()
/freebsd-12.1/tools/test/ptrace/
H A Dscescx.c79 snprintf(b, sizeof(b), "SIG(%s)", strsignal(WSTOPSIG(status))); in decode_wait_status()
236 assert(WSTOPSIG(status) == SIGTRAP); in trace_sc()
261 assert(WSTOPSIG(status) == SIGTRAP); in trace_sc()
302 assert(WSTOPSIG(status) == SIGTRAP); in trace_cont()
386 assert(WSTOPSIG(status) == SIGSTOP); in main()
415 assert(WSTOPSIG(status) == SIGSTOP); in main()
/freebsd-12.1/gnu/usr.bin/gdb/gdbserver/
H A Dfbsd-low.c372 || (WSTOPSIG (*wstatp) != 32 in fbsd_wait_for_process()
373 && WSTOPSIG (*wstatp) != 33))) in fbsd_wait_for_process()
483 && WSTOPSIG (wstat) == SIGSTOP in fbsd_wait_for_event()
500 WSTOPSIG (wstat), event_child->tid, in fbsd_wait_for_event()
504 WSTOPSIG (wstat)); in fbsd_wait_for_event()
511 if (!WIFSTOPPED (wstat) || WSTOPSIG (wstat) != SIGTRAP) in fbsd_wait_for_event()
694 return ((unsigned char) WSTOPSIG (w)); in fbsd_wait()
740 && WSTOPSIG (wstat) != SIGSTOP) in wait_for_sigstop()
/freebsd-12.1/tests/sys/vm/
H A Dmlock_test.c68 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in test_wired_copy_on_write()
78 "child exited with status %d", WSTOPSIG(status)); in test_wired_copy_on_write()
/freebsd-12.1/lib/libproc/
H A Dproc_util.c71 if (phdl->status == PS_STOP && WSTOPSIG(phdl->wstat) != SIGTRAP) in proc_continue()
72 pending = WSTOPSIG(phdl->wstat); in proc_continue()
/freebsd-12.1/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h301 strlcpy(st, strsignal(WSTOPSIG(status)), sizeof(st)); in validate_status_stopped()
304 ATF_REQUIRE_EQ_MSG(WSTOPSIG(status), expected, in validate_status_stopped()
316 FORKEE_ASSERT_EQ(WSTOPSIG(status), expected); in forkee_status_stopped()
/freebsd-12.1/contrib/tcsh/
H A Dmi.wait.h34 #define WSTOPSIG(s) (__HIGH(s) & 0377) /* stop signal */ macro
H A Dsh.proc.c62 #ifndef WSTOPSIG
63 # define WSTOPSIG(w) (((union wait *) &(w))->w_stopsig) macro
292 pp->p_reason = WSTOPSIG(w); in pchild()
/freebsd-12.1/sys/sys/
H A Dwait.h57 #define WSTOPSIG(x) (_W_INT(x) >> 8) macro
/freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait.c212 ATF_REQUIRE(WIFSTOPPED(st) && WSTOPSIG(st) == SIGSTOP); in ATF_TC_BODY()
287 ATF_REQUIRE(WIFSTOPPED(st) && WSTOPSIG(st) == SIGSTOP); in ATF_TC_BODY()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_linux_libcdep.cc176 if (WIFSTOPPED(status) && WSTOPSIG(status) != SIGSTOP) { in SuspendThread()
178 (void*)(uptr)WSTOPSIG(status)); in SuspendThread()
/freebsd-12.1/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c62 #ifndef WSTOPSIG
63 #define WSTOPSIG WEXITSTATUS macro
/freebsd-12.1/release/picobsd/tinyware/passwd/
H A Dpw_util.c225 raise(WSTOPSIG(pstat)); in pw_edit()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DHost.cpp228 signal = WSTOPSIG(status); in MonitorChildProcessThreadFunction()
638 return {Stop, uint8_t(WSTOPSIG(wstatus))}; in Decode()
/freebsd-12.1/contrib/gcc/
H A Dsystem.h342 #ifndef WSTOPSIG
343 #define WSTOPSIG WEXITSTATUS macro
/freebsd-12.1/sys/i386/ibcs2/
H A Dibcs2_misc.c164 if (WSTOPSIG(status) <= 0 || in ibcs2_wait()
165 WSTOPSIG(status) > IBCS2_SIGTBLSZ) in ibcs2_wait()
168 IBCS2_STOPCODE(bsd_to_ibcs2_sig[_SIG_IDX(WSTOPSIG(status))]); in ibcs2_wait()
/freebsd-12.1/usr.sbin/ppp/
H A Dexec.c369 WSTOPSIG(stat)); in exec_Create()
/freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/
H A Dt_siginfo.c160 ATF_REQUIRE_EQ(WSTOPSIG(info->si_status), status); in sigchild_action()
/freebsd-12.1/lib/libutil/
H A Dpw_util.c329 raise(WSTOPSIG(pstat)); in pw_edit()

12