Lines Matching refs:event

207       Similiarly, the initial setting of the event mask happens
255 Then there's the issue of waiting for an event. We do this by
358 int handled; /* 1 if a buffered event was handled. */
366 int have_state; /* 1 if the event state has been set */
367 ttstate_t last_stop_state; /* The most recently-waited event for this thread. */
438 * ttrace event being reported.
441 get_printable_name_of_ttrace_event (ttevents_t event)
444 switch (event)
474 return "?new event?";
1038 /* Note that this thread's current event has been handled.
1052 /* Was this thread's current event handled?
1171 printf (", event is %s",
1728 * NOTE: use of TT_PROC_STOP can cause a thread with a real event
1729 * to get a TTEVT_NONE event, discarding the old event. Be
1754 execs, or until the parent's vfork event is delivered. Until that
1759 This function returns 1 if this stopped process, and the event that
1808 * current event (the child EXEC, we hope!).
1832 * of the others run? Is this an event for that thread?
1834 * If so, we believe our client would prefer to see this event
1883 * breakpoint-hit event was buffered, we can forget
1896 /* Else, is this the first "unhandled" event? If so,
1906 /* This is either an event that has already been "handled",
1908 * already have a candidate event. Ignore it...
1930 /* Found a candidate unhandled event.
1941 warning ("Internal error: no unhandled thread event to select");
2269 /* Pick an event to pass to our caller. Be paranoid.
2272 warning ("Can't find event, using previous event.");
2275 warning ("Internal error: no thread has a real event.");
2319 return 1; /* ttrace reports the event once per call. */
2510 * point, we have selected one thread and its event
2545 * not an event from our point of view.
2547 * If "was_handled" is true, this is an event we
2551 * currently-reported event, as it's already marked
2566 printf ("+"); /* Thread with a real event */
2575 printf (" %d, with event %s", ttid,
2610 * the event that ended the wait.
2659 /* Unlike what you might expect, this event is reported in
2716 printf ("Process-level event %s, using tid %d\n",
2722 * as this event isn't one which can change the
2790 printf ("..a process 'event'\n");
2802 and resume the inferior; this isn't an event we wish for
2809 but we don't want to resume the inferior; this is an event we wish
2818 event. So, we'll single-step the inferior to get out of the syscall,
2828 /* Make a syscall event look like a breakpoint. Same comments
2833 printf ("..a syscall 'event'\n");
2845 /* Make a thread event look like a breakpoint. Same comments
2850 printf ("..a thread 'event'\n");
2898 printf ("Process-level event %s, using tid %d\n",
2937 If the parent wants to get the initial exec event of a child,
2938 it must set the ttrace event mask of the child to include execs.
2945 acknowledgement. The parent can then set the child's event mask,
3033 * event mask, which we're setting here.
3083 * event mask, which we're setting here.
3135 * add it when it gets the EXEC event.
3139 /* We can now set the child's ttrace event mask.
3878 * the FORK event, that's ok. If it's a SIGNAL
3900 * real event.
3902 warning ("About to continue process %d, thread %d with unhandled event %s.",
3917 warning ("About to continue process %d, thread %d with unhandled event.",
3973 * actual event to worry about.
3981 warning ("Unexpected thread with \"%s\" event.",
4107 * actual event to worry about.
4115 warning ("Unexpected thread with \"%s\" event.",
4502 * event, etc. The rest just stay where they are.
4512 * we'll soon get a new event for it. Other events
4562 will soon get a new event for it. Other events can
4658 * handle this event. But check first!
4669 warning ("Internal error; skipping event %s on process %d, thread %d.",
4695 /* Expected "other" FORK or EXEC event from a
4701 printf ("Internal error: failed to handle event %s on process %d, thread %d.",
4722 a later TTEVT_EXEC or TTEVT_FORK event).
5119 * until the child EXEC event is seen. But we still
5120 * don't want to continue, as the event is already
5361 entries & exits; upon getting an entry event, disabling page-protections;
5362 upon getting an exit event, reenabling page-protections and then checking