Lines Matching refs:DPRINTF
44 DPRINTF("Storing tcb[] = %p from thread %d\n", *tcb, _lwp_self());
91 DPRINTF("Before forking process PID=%d\n", getpid());
94 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
98 DPRINTF("Storing tcb[0] = %p\n", tcb[0]);
107 DPRINTF("Before raising %s from child\n", strsignal(sigval));
123 DPRINTF("Before raising %s from child\n", strsignal(sigval2));
129 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
131 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
136 DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child");
140 DPRINTF("Signal traced to lwpid=%d\n", info.psi_lwpid);
141 DPRINTF("Signal properties: si_signo=%#x si_code=%#x si_errno=%#x\n",
149 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for child\n");
153 DPRINTF("Assert that there exists a single thread only\n");
156 DPRINTF("Assert that lwp thread %d received event "
161 DPRINTF("Before calling ptrace(2) with PT_LWPSTATUS "
168 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for child\n");
172 DPRINTF("Assert that there exists a single thread only\n");
175 DPRINTF("Before calling ptrace(2) with PT_LWPNEXT for child\n");
179 DPRINTF("Assert that there exists a single thread only %d\n", lwpstatus.pl_lwpid);
182 DPRINTF("Before calling ptrace(2) with PT_LWPNEXT for child\n");
186 DPRINTF("Assert that there exists a single thread only\n");
190 DPRINTF("Before resuming the child process where it left off and "
194 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
199 DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for child");
203 DPRINTF("Signal traced to lwpid=%d\n", info.psi_lwpid);
204 DPRINTF("Signal properties: si_signo=%#x si_code=%#x si_errno=%#x\n",
233 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for "
237 DPRINTF("LWP=%d\n", lwp.pl_lwpid);
239 DPRINTF("Assert that the thread exists\n");
242 DPRINTF("Assert that lwp thread %d received expected "
249 DPRINTF("Before calling ptrace(2) with "
258 DPRINTF("Before calling ptrace(2) with PT_LWPNEXT for "
263 DPRINTF("LWP=%d\n", lwpstatus.pl_lwpid);
265 DPRINTF("Assert that the thread exists\n");
273 DPRINTF("Retrieved sigmask: "
293 DPRINTF("Retrieved thread name: "
303 DPRINTF("Retrieved thread private pointer: "
308 DPRINTF("Comparing %p and %p\n",
321 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for "
325 DPRINTF("LWP=%d\n", lwp.pl_lwpid);
327 DPRINTF("Assert that there are no more threads\n");
330 DPRINTF("Before calling ptrace(2) with PT_LWPNEXT for child\n");
334 DPRINTF("Assert that there exists a single thread only\n");
338 DPRINTF("Before resuming the child process where it left off and "
342 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
347 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
444 DPRINTF("Spawn tracee\n");
461 DPRINTF("Before raising %s from child\n", strsignal(sigval));
469 DPRINTF("Spawn debugger\n");
473 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
482 DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for "
487 DPRINTF("Signal traced to lwpid=%d\n", info.psi_lwpid);
488 DPRINTF("Signal properties: si_signo=%#x si_code=%#x "
496 DPRINTF
500 DPRINTF("Assert that there exists a thread\n");
503 DPRINTF("Assert that lwp thread %d received event "
507 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for "
512 DPRINTF("Assert that there are no more lwp threads in "
531 DPRINTF("Before calling ptrace(2) with PT_GET_SIGINFO for "
536 DPRINTF("Signal traced to lwpid=%d\n", info.psi_lwpid);
537 DPRINTF("Signal properties: si_signo=%#x si_code=%#x "
548 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for "
552 DPRINTF("LWP=%d\n", lwp.pl_lwpid);
554 DPRINTF("Assert that the thread exists\n");
557 DPRINTF("Assert that lwp thread %d received expected "
563 DPRINTF("Before calling ptrace(2) with PT_LWPINFO for "
567 DPRINTF("LWP=%d\n", lwp.pl_lwpid);
569 DPRINTF("Assert that there are no more threads\n");
572 DPRINTF("Before resuming the child process where it left off "
583 DPRINTF("Before exiting of the tracer process\n");
587 DPRINTF("Wait for the tracer to attach to the tracee\n");
590 DPRINTF("Resume the tracee and spawn threads\n");
593 DPRINTF("Resume the tracee and let it exit\n");
596 DPRINTF("Resume the tracer and let it detect multiple threads\n");
599 DPRINTF("Wait for tracer to finish its job and exit - calling %s()\n",
606 DPRINTF("Wait for tracee to finish its job and exit - calling %s()\n",