mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Explicitly start gdb with mi2
We should explicitly set the version of mi to use. Until recently
mi == mi2, but with the recent introduction of mi3 as the default
we need to be explicit.
The other place that specifies interpreter is explicit about version
and includes an important comment on the subject
1590791e76/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java (L189-L191)
Part of #816
This commit is contained in:
parent
3594dce68a
commit
833f9391b7
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ public class GDBBackend_7_12 extends GDBBackend {
|
|||
"--interpreter", "console", //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
// Now trigger the new console towards our PTY.
|
||||
"-ex", "new-ui mi " + fMIPty.getSlaveName(), //$NON-NLS-1$ //$NON-NLS-2$
|
||||
"-ex", "new-ui mi2 " + fMIPty.getSlaveName(), //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
// With GDB.7.12, pagination can lock up the whole debug session
|
||||
// when using the full GDB console, so we turn it off.
|
||||
|
|
Loading…
Add table
Reference in a new issue