diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-09-03 17:51:10 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-09-03 17:51:10 +0000 |
commit | edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067 (patch) | |
tree | e43f1291063fb3ca5efdd9fdb11282dd0509e721 | |
parent | 3277c0e07cf4f055a3ae860b33dcb5c6e8cc8a92 (diff) | |
download | gdb-edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067.zip gdb-edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067.tar.gz gdb-edff0c0a1d4dfa3bbad4a8f3bf954e86419e8067.tar.bz2 |
* mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09a721e..085e1b6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. + 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> * top.c (print_gdb_version): Fixed a string end-of-line compiler error. 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; |