From df5a3a60e08639f891c0172a781d33a8cda2a3c2 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 26 May 2008 13:00:45 +0000 Subject: [PATCH] Bug 233492 Using protocol 'mi' will use the latest mi version available to GDB. This is somewhat dangerous, as we actually support mi2. It is safer to specify mi2 as our version. --- .../gdb/internal/provisional/service/command/GDBControl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/service/command/GDBControl.java b/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/service/command/GDBControl.java index 53868930803..aa28d56ea12 100644 --- a/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/service/command/GDBControl.java +++ b/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/service/command/GDBControl.java @@ -537,7 +537,8 @@ public class GDBControl extends AbstractMIControl { // to allow for easy overriding. commandList.add(fGdbPath.toOSString()); commandList.add("--interpreter"); //$NON-NLS-1$ - commandList.add("mi"); //$NON-NLS-1$ + // We currently work with MI version 2 + commandList.add("mi2"); //$NON-NLS-1$ // Don't read the gdbinit file here. It is read explicitly in // the LaunchSequence to make it easier to customize. commandList.add("--nx"); //$NON-NLS-1$