Lines Matching refs:status
95 int pid, n, status;
105 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED));
108 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP))
109 fatal("check_ptrace : expected SIGSTOP, got status = %d",
110 status);
123 int status, n, ret = 0;
129 CATCH_EINTR(n = waitpid(pid, &status, 0));
130 if (!WIFEXITED(status) || (WEXITSTATUS(status) != exitcode)) {
131 int exit_with = WEXITSTATUS(status);
133 non_fatal("check_ptrace : child exited with status 2. "
136 "expecting %d; status 0x%x\n", exit_with,
137 exitcode, status);
167 int pid, n, status, count=0;
176 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED));
179 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP))
180 fatal("check_sysemu : expected SIGTRAP, got status = %d\n",
181 status);
216 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED));
220 if (WIFSTOPPED(status) &&
221 (WSTOPSIG(status) == (SIGTRAP|0x80))) {
234 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP))
238 "(SIGTRAP | 0x80), got status = %d\n",
239 status);
261 int pid, syscall, n, status;
274 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED));
278 if (!WIFSTOPPED(status) ||
279 (WSTOPSIG(status) != (SIGTRAP | 0x80)))
281 "got status = %d", status);