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:
parent
2773a95b3b
commit
df5a3a60e0
1 changed files with 2 additions and 1 deletions
|
@ -537,7 +537,8 @@ public class GDBControl extends AbstractMIControl {
|
||||||
// to allow for easy overriding.
|
// to allow for easy overriding.
|
||||||
commandList.add(fGdbPath.toOSString());
|
commandList.add(fGdbPath.toOSString());
|
||||||
commandList.add("--interpreter"); //$NON-NLS-1$
|
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
|
// Don't read the gdbinit file here. It is read explicitly in
|
||||||
// the LaunchSequence to make it easier to customize.
|
// the LaunchSequence to make it easier to customize.
|
||||||
commandList.add("--nx"); //$NON-NLS-1$
|
commandList.add("--nx"); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue