Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-11-28 16:31:49 +0000
committerEugene Tarassov2011-11-28 16:31:49 +0000
commit1be6afea8b16b6d312a45f8438635ce342a6c6ca (patch)
tree397de85225528bf45f755e2b36b065e991520959 /agent/tcf/services/runctrl.h
parentf3647b55e7958eb89dece294d99ac8389c9cb57b (diff)
downloadorg.eclipse.tcf.agent-1be6afea8b16b6d312a45f8438635ce342a6c6ca.tar.gz
org.eclipse.tcf.agent-1be6afea8b16b6d312a45f8438635ce342a6c6ca.tar.xz
org.eclipse.tcf.agent-1be6afea8b16b6d312a45f8438635ce342a6c6ca.zip
TCF Agent: implemented detach (Windows only for now).
Diffstat (limited to 'agent/tcf/services/runctrl.h')
-rw-r--r--agent/tcf/services/runctrl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/agent/tcf/services/runctrl.h b/agent/tcf/services/runctrl.h
index 755b6f2e..3c931e64 100644
--- a/agent/tcf/services/runctrl.h
+++ b/agent/tcf/services/runctrl.h
@@ -99,6 +99,13 @@ extern int is_all_stopped(Context * mem);
extern int terminate_debug_context(Context * ctx);
/*
+ * Detach debug context.
+ * Returns 0 if no errors, otherwise returns -1 and sets errno.
+ * Note: this function is asynchronous, it returns before context is detached.
+ */
+extern int detach_debug_context(Context * ctx);
+
+/*
* Resume debug context.
* If "ctx" is a process, resume all children.
* 'c' - channel to access symbols info, can be NULL if the info is provided locally.

Back to the top