1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Remove deprecated method.

The method
GDBRunControl_7_0_NS.eventDispatched(ITraceRecordSelectedChangedDMEvent)
was removed;
GDBRunControl_7_2_NS.eventDispatched(ITraceRecordSelectedChangedDMEvent)
should be used instead.

Change-Id: Ic30186e29b4601f1054a5988a6330ec095079253
This commit is contained in:
Marc Khouzam 2015-10-13 10:43:21 -04:00 committed by Gerrit Code Review @ Eclipse.org
parent 5af6c7413a
commit 72352044ae
2 changed files with 2 additions and 14 deletions

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2006, 2015 Wind River Systems and others.
* Copyright (c) 2006, 2016 Wind River 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
@ -68,7 +68,6 @@ import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin;
import org.eclipse.cdt.dsf.gdb.internal.service.command.events.MITracepointSelectedEvent;
import org.eclipse.cdt.dsf.gdb.internal.service.control.StepIntoSelectionActiveOperation;
import org.eclipse.cdt.dsf.gdb.internal.service.control.StepIntoSelectionUtils;
import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl.ITraceRecordSelectedChangedDMEvent;
import org.eclipse.cdt.dsf.mi.service.IMIBreakpointPathAdjuster;
import org.eclipse.cdt.dsf.mi.service.IMICommandControl;
import org.eclipse.cdt.dsf.mi.service.IMIContainerDMContext;
@ -2014,16 +2013,6 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
fStepInToSelectionActiveOperation = null;
}
/**
* @deprecated Tracing is only supported with GDB 7.2, so this logic
* was moved to the GDBRunControl_7_2_NS class.
* @since 3.0
*/
@Deprecated
@DsfServiceEventHandler
public void eventDispatched(ITraceRecordSelectedChangedDMEvent e) {
}
@Override
public void flushCache(IDMContext context) {
refreshThreadStates();

View file

@ -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
@ -132,7 +132,6 @@ public class GDBRunControl_7_2_NS extends GDBRunControl_7_0_NS
/**
* @since 4.1
*/
@Override
@DsfServiceEventHandler
public void eventDispatched(ITraceRecordSelectedChangedDMEvent e) {
setTraceVisualization(e.isVisualizationModeEnabled());