diff options
author | Marc Khouzam | 2016-01-20 01:58:31 +0000 |
---|---|---|
committer | Marc Khouzam | 2016-03-17 18:31:45 +0000 |
commit | 7856453f3073ab05cd791f75decbe179998964b4 (patch) | |
tree | d1d3f890245428306816430605a9d0d7b6476296 /jtag | |
parent | 6aefe76491fd30ee2fe9f29df7c448f02aa15e6f (diff) | |
download | org.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')
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 2976d8e8c5e..0b4ab20d2c7 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 208467b8a28..cd638975c02 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) { |