aboutsummaryrefslogtreecommitdiff
path: root/handle_event.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-14 00:36:03 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:38:04 +0200
commit9847abed1f8a4d01466e9c2a6011b59ea11f6d2f (patch)
tree9e8189c050ab011460f175bb2641cc0fd1feedb0 /handle_event.c
parentded6f97d105f3597246376d45ff455d16016c3f0 (diff)
downloadltrace-9847abed1f8a4d01466e9c2a6011b59ea11f6d2f.tar.gz
Change a comment
Diffstat (limited to 'handle_event.c')
-rw-r--r--handle_event.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/handle_event.c b/handle_event.c
index 4513540..21ed7b2 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -463,9 +463,13 @@ handle_exec(Event * event) {
continue_process(proc->pid);
/* After the exec, we expect to hit the first executable
- * instruction. It would be nice to have this removed, but
- * then we need to do that also for initial call to
- * wait_for_proc in execute_program. XXX todo. */
+ * instruction.
+ *
+ * XXX TODO It would be nice to have this removed, but then we
+ * need to do that also for initial call to wait_for_proc in
+ * execute_program. In that case we could generate a
+ * EVENT_FIRST event or something, or maybe this could somehow
+ * be rolled into EVENT_NEW. */
wait_for_proc(proc->pid);
continue_process(proc->pid);
}