aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-main.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-09-03 17:51:10 +0000
committerDaniel Jacobowitz <drow@false.org>2007-09-03 17:51:10 +0000
commitedff0c0a1d4dfa3bbad4a8f3bf954e86419e8067 (patch)
treee43f1291063fb3ca5efdd9fdb11282dd0509e721 /gdb/mi/mi-main.c
parent3277c0e07cf4f055a3ae860b33dcb5c6e8cc8a92 (diff)
downloadgdb-edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067.zip
gdb-edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067.tar.gz
gdb-edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067.tar.bz2
* mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters.
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r--gdb/mi/mi-main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index a2063e4..0c4b904 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1463,10 +1463,13 @@ mi_load_progress (const char *section_name,
of this function. */
saved_uiout = uiout;
- if (current_interp_named_p (INTERP_MI))
+ if (current_interp_named_p (INTERP_MI)
+ || current_interp_named_p (INTERP_MI2))
uiout = mi_out_new (2);
else if (current_interp_named_p (INTERP_MI1))
uiout = mi_out_new (1);
+ else if (current_interp_named_p (INTERP_MI3))
+ uiout = mi_out_new (3);
else
return;