From b28d409cb49477b2c1693dfeb5cde91925dcab7a Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Mon, 30 Sep 2002 15:17:36 +0000 Subject: [PATCH] New Command from Don Howard, MITargetDownload. --- .../mi/core/command/MITargetDownload.java | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java new file mode 100644 index 00000000000..6bafab1d1fe --- /dev/null +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java @@ -0,0 +1,37 @@ +/* MI + + (c) 2002 Copyright RedHat Inc + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +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() { + super("-target-download"); + } +}