diff options
author | Doug Schaefer | 2017-11-13 20:25:52 +0000 |
---|---|---|
committer | Doug Schaefer | 2017-11-13 20:56:57 +0000 |
commit | 15c8bad95d394bef30dda8662e490e78b1afee33 (patch) | |
tree | 3d7485741085fcadeb78638fe04e34ebf4ea23bc /dsf-gdb | |
parent | f1f9ddf0f70bdc5a4960803b47c6137a5d2486d4 (diff) | |
download | org.eclipse.cdt-15c8bad95d394bef30dda8662e490e78b1afee33.tar.gz org.eclipse.cdt-15c8bad95d394bef30dda8662e490e78b1afee33.tar.xz org.eclipse.cdt-15c8bad95d394bef30dda8662e490e78b1afee33.zip |
Serial Flash Target and Launch. Clean up Generic Launch.
Adds target, launch classes, and launch bar support for targets
intended to upload their code to flash using a Serial Port. The
port is co-ordinated with the Serial Terminal so that the terminal
is paused during the upload.
Also cleaned up the Generic Launch so it's not using the
External Tools launch which has a number of UX issues. This
simplifies the settings and gives us more control. And it's made
reusable for the Serial Flash launch.
Change-Id: I31e9970243fbf1cf22d027bbdb892fde104dbefe
Diffstat (limited to 'dsf-gdb')
2 files changed, 7 insertions, 1 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_12.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_12.java index 7cc945a9f9b..6e58297affc 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_12.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_12.java @@ -121,6 +121,9 @@ public class GDBProcesses_7_12 extends GDBProcesses_7_11 { } } + /** + * @since 5.4 + */ @Override protected boolean targetAttachRequiresTrailingNewline() { return true; diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java index 9da901e7ed8..834adbf5091 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java @@ -66,8 +66,11 @@ public class MITargetAttach extends MICommand<MIInfo> { } /** - * Add an extra newline to force GDB 7.11 to flush error response to the MI channel. + * Add an extra newline to force GDB 7.11 to flush error response to the MI + * channel. + * * @see GDBProcesses_7_2#targetAttachRequiresTrailingNewline + * @since 5.4 */ @Override public String constructCommand(String groupId, String threadId, int frameId) { |