Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/com.windriver.tcf.dsf.core/src/com/windriver/tcf/dsf/core/launch/TCFDSFLaunch.java')
-rw-r--r--plugins/com.windriver.tcf.dsf.core/src/com/windriver/tcf/dsf/core/launch/TCFDSFLaunch.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/com.windriver.tcf.dsf.core/src/com/windriver/tcf/dsf/core/launch/TCFDSFLaunch.java b/plugins/com.windriver.tcf.dsf.core/src/com/windriver/tcf/dsf/core/launch/TCFDSFLaunch.java
new file mode 100644
index 000000000..f9535ce5e
--- /dev/null
+++ b/plugins/com.windriver.tcf.dsf.core/src/com/windriver/tcf/dsf/core/launch/TCFDSFLaunch.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Wind River Systems, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package com.windriver.tcf.dsf.core.launch;
+
+import org.eclipse.dd.dsf.concurrent.DsfExecutor;
+import org.eclipse.dd.dsf.service.DsfSession;
+import org.eclipse.debug.core.ILaunchConfiguration;
+
+import com.windriver.debug.tcf.core.model.ITCFConstants;
+import com.windriver.debug.tcf.core.model.TCFLaunch;
+
+public class TCFDSFLaunch extends TCFLaunch {
+
+ private final TCFDSFExecuter executor;
+ private final DsfSession session;
+
+ public TCFDSFLaunch(ILaunchConfiguration launchConfiguration, String mode) {
+ super(launchConfiguration, mode);
+ executor = new TCFDSFExecuter();
+ session = DsfSession.startSession(executor, ITCFConstants.ID_TCF_DEBUG_MODEL);
+ }
+
+ public DsfExecutor getDsfExecutor() {
+ return executor;
+ }
+
+ public DsfSession getSession() {
+ return session;
+ }
+}

Back to the top