diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java index 878eda88b63..2b22804648b 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java @@ -25,18 +25,4 @@ public class MIEnvironmentCD extends MICommand public MIEnvironmentCD(String miVersion, String path) { super(miVersion, "-environment-cd", new String[]{path}); //$NON-NLS-1$ } - - /** - * !@*^%^$( sigh ... gdb for this command does not make any interpretation - * So we must past the command verbatim without any changes. - * (non-Javadoc) - * @see org.eclipse.cdt.debug.mi.core.command.MICommand#parametersToString() - */ - protected String parametersToString() { - String[] parameters = getParameters(); - if (parameters != null && parameters.length == 1) { - return parameters[0]; - } - return super.parametersToString(); - } }