mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +02:00
Bug 173036: target-download "file" is not supported.
This commit is contained in:
parent
7bf2c30f75
commit
71355f9dc9
2 changed files with 15 additions and 7 deletions
|
@ -299,6 +299,10 @@ public class CommandFactory {
|
||||||
return new MITargetDetach(getMIVersion());
|
return new MITargetDetach(getMIVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MITargetDownload createMITargetDownload(String file) {
|
||||||
|
return new MITargetDownload(getMIVersion(), file);
|
||||||
|
}
|
||||||
|
|
||||||
public MITargetSelect createMITargetSelect(String[] params) {
|
public MITargetSelect createMITargetSelect(String[] params) {
|
||||||
return new MITargetSelect(getMIVersion(), params);
|
return new MITargetSelect(getMIVersion(), params);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,9 +26,13 @@ package org.eclipse.cdt.debug.mi.core.command;
|
||||||
* total-sent="512",total-size="9880"}
|
* total-sent="512",total-size="9880"}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MITargetDownload extends MICommand
|
public class MITargetDownload extends MICommand {
|
||||||
{
|
|
||||||
public MITargetDownload(String miVersion) {
|
public MITargetDownload(String miVersion) {
|
||||||
super(miVersion, "-target-download"); //$NON-NLS-1$
|
super(miVersion, "-target-download"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MITargetDownload(String miVersion, String file) {
|
||||||
|
super(miVersion, "-target-download", new String[] { file }); //$NON-NLS-1$
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue