aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-07 17:47:42 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-07 17:47:42 +0000
commit2fcf52f0db49d500af7b7151e00e432cd9ae86f7 (patch)
treea7283e926e1d746c85cabe68f19d8ffad4678173 /gdb/mi
parentfd83badabb576ef0d2153334e0f1ab99500b6548 (diff)
downloadgdb-2fcf52f0db49d500af7b7151e00e432cd9ae86f7.zip
gdb-2fcf52f0db49d500af7b7151e00e432cd9ae86f7.tar.gz
gdb-2fcf52f0db49d500af7b7151e00e432cd9ae86f7.tar.bz2
Index: ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com> * interps.h (INTERP_MI2, INTERP_MI3): Define. Index: doc/ChangeLog 2003-08-07 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (Mode Options): Mention that "mi2" was included in GDB 6.0. Index: mi/ChangeLog 2003-08-07 Andrew Cagney <cagney@redhat.com> * mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3". Make "mi" select "mi2". Index: testsuite/gdb.mi/ChangeLog 2003-08-07 Andrew Cagney <cagney@redhat.com> * mi2-basics.exp: Copy base MI .exp file, set MIFLAGS to -i=mi2. * mi2-break.exp, mi2-cli.exp, mi2-console.exp: Ditto. * mi2-disassemble.exp, mi2-eval.exp, mi2-file.exp: Ditto. * mi2-hack-cli.exp, mi2-pthreads.exp, mi2-read-memory.exp: Ditto. * mi2-regs.exp, mi2-return.exp, mi2-simplerun.exp: Ditto. * mi2-stack.exp, mi2-stepi.exp, mi2-syn-frame.exp: Ditto. * mi2-until.exp, mi2-var-block.exp, mi2-var-child.exp: Ditto. * mi2-var-cmd.exp, mi2-var-display.exp, mi2-watch.exp: Ditto.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-interp.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 512d971..3122136 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-07 Andrew Cagney <cagney@redhat.com>
+
+ * mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3".
+ Make "mi" select "mi2".
+
2003-08-05 Andrew Cagney <cagney@redhat.com>
* mi-cmd-env.c (env_execute_cli_command): Use an explicit "%s %s"
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 696ae06..e00e329 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -407,8 +407,12 @@ _initialize_mi_interp (void)
mi_interpreter_prompt_p /* prompt_proc_p */
};
- /* Create MI1 interpreter */
+ /* The various interpreter levels. */
interp_add (interp_new (INTERP_MI1, NULL, mi_out_new (1), &procs));
+ interp_add (interp_new (INTERP_MI2, NULL, mi_out_new (2), &procs));
+ interp_add (interp_new (INTERP_MI3, NULL, mi_out_new (3), &procs));
- interp_add (interp_new (INTERP_MI, NULL, mi_out_new (3), &procs));
+ /* "mi" selects the most recent released version. "mi2" was
+ released as part of GDB 6.0. */
+ interp_add (interp_new (INTERP_MI, NULL, mi_out_new (2), &procs));
}