1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

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.
This commit is contained in:
Marc Khouzam 2008-05-26 13:00:45 +00:00
parent 2773a95b3b
commit df5a3a60e0

View file

@ -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$