| 1 | diff -u -r ../PRoot-5.1.0/src/tracee/tracee.c ./src/tracee/tracee.c |
| 2 | --- ../PRoot-5.1.0/src/tracee/tracee.c 2014-12-15 09:18:11.000000000 -0500 |
| 3 | +++ ./src/tracee/tracee.c 2016-01-08 19:32:43.493157624 -0500 |
| 4 | @@ -538,6 +538,9 @@ |
| 5 | /* Sanity check. */ |
| 6 | assert(!child->as_ptracee.tracing_started); |
| 7 | |
| 8 | +#ifndef __W_STOPCODE |
| 9 | +#define __W_STOPCODE(sig) ((sig) << 8 | 0x7f) |
| 10 | +#endif |
| 11 | keep_stopped = handle_ptracee_event(child, __W_STOPCODE(SIGSTOP)); |
| 12 | |
| 13 | /* Note that this event was already handled by |