From 65f9144e0f75c22b5e3cc8a26214cf1439400766 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Tue, 13 Oct 2015 10:39:08 -0400 Subject: [PATCH] Deprecate method The method AbstractMIControl.getControlDMContext() has been deprecated. I has been replaced by ICommandControlService.getContext(). It should have been deprecated at the same time as when GDBControl.getControlDMContext() was deprecated, but was forgotten. Change-Id: Ib568fce51b29455281a3d26b5ace914b9f4dece8 --- .../eclipse/cdt/dsf/mi/service/command/AbstractMIControl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/AbstractMIControl.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/AbstractMIControl.java index 55cfbe5099a..67b2e02108d 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/AbstractMIControl.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/AbstractMIControl.java @@ -40,6 +40,7 @@ import org.eclipse.cdt.dsf.datamodel.IDMContext; import org.eclipse.cdt.dsf.debug.service.IRunControl; import org.eclipse.cdt.dsf.debug.service.IStack.IFrameDMContext; import org.eclipse.cdt.dsf.debug.service.command.ICommand; +import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService; import org.eclipse.cdt.dsf.debug.service.command.ICommandListener; import org.eclipse.cdt.dsf.debug.service.command.ICommandResult; import org.eclipse.cdt.dsf.debug.service.command.ICommandToken; @@ -482,6 +483,8 @@ public abstract class AbstractMIControl extends AbstractDsfService @Override public void removeEventListener(IEventListener processor) { fEventProcessors.remove(processor); } + /** @deprecated Replaced with {@link ICommandControlService#getContext()} */ + @Deprecated abstract public MIControlDMContext getControlDMContext(); /**