Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2002-09-30 15:17:36 +0000
committerAlain Magloire2002-09-30 15:17:36 +0000
commitb28d409cb49477b2c1693dfeb5cde91925dcab7a (patch)
tree42f7e962cd76c974eaee5efc5b1cf96d6f7db38e
parent4ea75468696569d16640d3b23e198e7b6ecad210 (diff)
downloadorg.eclipse.cdt-b28d409cb49477b2c1693dfeb5cde91925dcab7a.tar.gz
org.eclipse.cdt-b28d409cb49477b2c1693dfeb5cde91925dcab7a.tar.xz
org.eclipse.cdt-b28d409cb49477b2c1693dfeb5cde91925dcab7a.zip
New Command from Don Howard, MITargetDownload.
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java37
1 files changed, 37 insertions, 0 deletions
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");
+ }
+}

Back to the top