mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +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,9 +299,13 @@ public class CommandFactory {
|
|||
return new MITargetDetach(getMIVersion());
|
||||
}
|
||||
|
||||
public MITargetSelect createMITargetSelect(String[] params) {
|
||||
return new MITargetSelect(getMIVersion(), params);
|
||||
}
|
||||
public MITargetDownload createMITargetDownload(String file) {
|
||||
return new MITargetDownload(getMIVersion(), file);
|
||||
}
|
||||
|
||||
public MITargetSelect createMITargetSelect(String[] params) {
|
||||
return new MITargetSelect(getMIVersion(), params);
|
||||
}
|
||||
|
||||
public MIThreadListIds createMIThreadListIds() {
|
||||
return new MIThreadListIds(getMIVersion());
|
||||
|
|
|
@ -26,9 +26,13 @@ package org.eclipse.cdt.debug.mi.core.command;
|
|||
* total-sent="512",total-size="9880"}
|
||||
*
|
||||
*/
|
||||
public class MITargetDownload extends MICommand
|
||||
{
|
||||
public MITargetDownload(String miVersion) {
|
||||
super(miVersion, "-target-download"); //$NON-NLS-1$
|
||||
public class MITargetDownload extends MICommand {
|
||||
|
||||
public MITargetDownload(String miVersion) {
|
||||
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