mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Bug 80700: modern gdb does need argument be quoted for environment-cd, let super class take care of it
This commit is contained in:
parent
664e416fa2
commit
1aeb6dc884
1 changed files with 0 additions and 14 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue