summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Coutand2012-06-06 05:40:24 (EDT)
committerEugene Tarassov2012-06-06 13:40:43 (EDT)
commit36942af14959e66a58f0dc3cc9f0dcc371cf2674 (patch)
tree276d614949393f5be52552519d47eefb95d3d553
parent330b1c76b1703d4e932cf9d5d98753fc8ba154fd (diff)
downloadorg.eclipse.tcf.agent-36942af14959e66a58f0dc3cc9f0dcc371cf2674.zip
org.eclipse.tcf.agent-36942af14959e66a58f0dc3cc9f0dcc371cf2674.tar.gz
org.eclipse.tcf.agent-36942af14959e66a58f0dc3cc9f0dcc371cf2674.tar.bz2
Fix suspended events when stepping a task.
-rw-r--r--agent/tcf/services/runctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/runctrl.c b/agent/tcf/services/runctrl.c
index b8d0b23..03d5862 100644
--- a/agent/tcf/services/runctrl.c
+++ b/agent/tcf/services/runctrl.c
@@ -965,7 +965,7 @@ static void send_event_context_suspended(void) {
e->intercepted = 1;
x->pending_intercept = 0;
if (get_context_breakpoint_ids(x) != NULL) e->intercepted_by_bp++;
- if (e->intercepted_by_bp || x->stopped_by_exception) n = &p0;
+ if (e->intercepted_by_bp || x->stopped_by_exception || e->step_done) n = &p0;
list_add_last(&e->link, n);
}
}