| author | Christophe Augier | 2013-01-25 12:34:52 (EST) |
|---|---|---|
| committer | Didier Brachet | 2013-01-28 02:47:31 (EST) |
| commit | 91877bbfd5640604f9cbcadb32783e37dbd6d3a1 (patch) (side-by-side diff) | |
| tree | 57d49cfd2dd6b2fbaf38b6d6a0ac7f5ee5d8e115 | |
| parent | 906914329338bfd1c760e75b130215b92e7c7894 (diff) | |
| download | org.eclipse.tcf.agent-91877bbfd5640604f9cbcadb32783e37dbd6d3a1.zip org.eclipse.tcf.agent-91877bbfd5640604f9cbcadb32783e37dbd6d3a1.tar.gz org.eclipse.tcf.agent-91877bbfd5640604f9cbcadb32783e37dbd6d3a1.tar.bz2 | |
Bug 398196: Fixed single stepping intercept group support (second)
The problem was fixed in the previous commit when no channel was
opened. This one completes the fix in the case where the run control
operation comes from a client.
| -rw-r--r-- | agent/tcf/services/runctrl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/tcf/services/runctrl.c b/agent/tcf/services/runctrl.c index c8f7630..d98c739 100644 --- a/agent/tcf/services/runctrl.c +++ b/agent/tcf/services/runctrl.c @@ -1718,6 +1718,10 @@ static void sync_run_state(void * args) { run_ctrl_lock(); context_lock(ctx); cache_enter(step_machine_cache_client, ext->step_channel, &ctx, sizeof(ctx)); + if (ctx->pending_intercept) { + grp = context_get_group(ctx, CONTEXT_GROUP_INTERCEPT); + EXT(grp)->intercept_group = 1; + } } } |

