/*******************************************************************************
* Copyright (c) 2002, 2007 RedHat Inc 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* RedHat Inc - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.mi.core.command;
/**
*
* -target-download
*
* Load the executable to the remote target. This command takes no args.
*
*
* Loads the executable onto the remote target. It prints out an
* update message every half second, which includes the fields:
*
* +download,{section=".text",section-size="6668",total-size="9880"}
* +download,{section=".text",section-sent="512",section-size="6668",
* total-sent="512",total-size="9880"}
*
*/
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$
}
}