Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jtag
diff options
context:
space:
mode:
authorMarc Khouzam2016-01-19 20:58:31 -0500
committerMarc Khouzam2016-03-17 14:31:45 -0400
commit7856453f3073ab05cd791f75decbe179998964b4 (patch)
treed1d3f890245428306816430605a9d0d7b6476296 /jtag
parent6aefe76491fd30ee2fe9f29df7c448f02aa15e6f (diff)
downloadorg.eclipse.cdt-7856453f3073ab05cd791f75decbe179998964b4.tar.gz
org.eclipse.cdt-7856453f3073ab05cd791f75decbe179998964b4.tar.xz
org.eclipse.cdt-7856453f3073ab05cd791f75decbe179998964b4.zip
Bug 488909: Unify services factory classes to extend more easily
From org.eclipse.cdt.debug.gdbjtag.core, constructor GdbJtagDebugServicesFactory.GdbJtagDebugServicesFactory(String) has been replaced by GdbJtagDebugServicesFactory.GdbJtagDebugServicesFactory(String, ILaunchConfiguration) From org.eclipse.cdt.dsf.gdb, constructor GdbDebugServicesFactory.GdbDebugServicesFactory(String) has been replaced by GdbDebugServicesFactory.GdbDebugServicesFactory(String, ILaunchConfiguration) From org.eclipse.cdt.dsf.gdb, class GdbDebugServicesFactoryNS has been removed and its logic was merged into class GdbDebugServicesFactory Change-Id: Ifecba752cfc12da62f1447027b11c0bb1f7c0171
Diffstat (limited to 'jtag')
-rw-r--r--jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFLaunchConfigurationDelegate.java4
-rw-r--r--jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/dsf/gdb/service/GdbJtagDebugServicesFactory.java10
2 files changed, 7 insertions, 7 deletions
diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFLaunchConfigurationDelegate.java b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFLaunchConfigurationDelegate.java
index 2976d8e8c5..0b4ab20d2c 100644
--- a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFLaunchConfigurationDelegate.java
+++ b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFLaunchConfigurationDelegate.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 - 2016 QNX Software Systems and others.
+ * Copyright (c) 2007, 2016 QNX Software Systems 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
@@ -45,7 +45,7 @@ public class GDBJtagDSFLaunchConfigurationDelegate extends GdbLaunchDelegate {
@Override
protected IDsfDebugServicesFactory newServiceFactory(ILaunchConfiguration config, String version) {
- return new GdbJtagDebugServicesFactory(version);
+ return new GdbJtagDebugServicesFactory(version, config);
}
@Override
diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/dsf/gdb/service/GdbJtagDebugServicesFactory.java b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/dsf/gdb/service/GdbJtagDebugServicesFactory.java
index 208467b8a2..cd638975c0 100644
--- a/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/dsf/gdb/service/GdbJtagDebugServicesFactory.java
+++ b/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/dsf/gdb/service/GdbJtagDebugServicesFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011,2015 Ericsson and others.
+ * Copyright (c) 2011, 2016 Ericsson 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
@@ -23,10 +23,10 @@ import org.eclipse.debug.core.ILaunchConfiguration;
*/
public class GdbJtagDebugServicesFactory extends GdbDebugServicesFactory {
-
- public GdbJtagDebugServicesFactory(String version) {
- super(version);
- }
+ /** @since 9.0 */
+ public GdbJtagDebugServicesFactory(String version, ILaunchConfiguration config) {
+ super(version, config);
+ }
@Override
protected ICommandControl createCommandControl(DsfSession session, ILaunchConfiguration config) {

Back to the top