mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +02:00
Remove deprecated constructor.
The constructor MITargetAttach(ICommandControlDMContext, String) has be removed. MITargetAttach(IMIContainerDMContext, String) or MITargetAttach(IMIContainerDMContext, String, boolean) should be used instead. Correspondingly, the method CommandFactory.createMITargetAttach(ICommandControlDMContext, String) was removed. CommandFactory.createMITargetAttach(IMIContainerDMContext, String) or CommandFactory.createMITargetAttach(IMIContainerDMContext, String, boolean) should be used instead. Change-Id: I2c35f0a7817d135511a851c400d3ad71781afd0c
This commit is contained in:
parent
664185f14a
commit
89742720d0
2 changed files with 1 additions and 18 deletions
|
@ -937,11 +937,6 @@ public class CommandFactory {
|
|||
return new MIStackSelectFrame(ctx, frameNum);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public ICommand<MIInfo> createMITargetAttach(ICommandControlDMContext ctx, String groupId) {
|
||||
return new MITargetAttach(ctx, groupId);
|
||||
}
|
||||
|
||||
/** @since 4.0 */
|
||||
public ICommand<MIInfo> createMITargetAttach(IMIContainerDMContext ctx, String groupId) {
|
||||
return new MITargetAttach(ctx, groupId);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2008, 2011 Ericsson and others.
|
||||
* Copyright (c) 2008, 2015 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
|
||||
|
@ -12,7 +12,6 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.dsf.mi.service.command.commands;
|
||||
|
||||
import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService.ICommandControlDMContext;
|
||||
import org.eclipse.cdt.dsf.mi.service.IMIContainerDMContext;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.output.MIInfo;
|
||||
|
||||
|
@ -26,17 +25,6 @@ import org.eclipse.cdt.dsf.mi.service.command.output.MIInfo;
|
|||
* @since 1.1
|
||||
*/
|
||||
public class MITargetAttach extends MICommand<MIInfo> {
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated Replaced with MITargetAttach(IMIContainerDMContext, String)
|
||||
* since this command is container-specific
|
||||
*/
|
||||
@Deprecated
|
||||
public MITargetAttach(ICommandControlDMContext ctx, String groupId) {
|
||||
super(ctx, "-target-attach", new String[] {groupId}); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ctx indicates which inferior should be used when doing the attach
|
||||
* @param id the pid of the process to attach to
|
||||
|
|
Loading…
Add table
Reference in a new issue