From: Joseph Myers Date: Tue, 20 Sep 2011 15:19:28 +0000 (+0000) Subject: * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67ba4e42a079555c4717512fa28e24b119c71818;p=binutils-gdb.git * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to current_uiout, not uiout. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1b2519b0249..f15e6167352 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-09-20 Joseph Myers + + * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to + current_uiout, not uiout. + 2011-09-19 Doug Evans * python/py-auto-load.c (source_section_scripts): Fix file diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 59fa5764a68..4ab2012950b 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -2266,7 +2266,7 @@ mi_load_progress (const char *section_name, } xfree (uiout); - uiout = saved_uiout; + current_uiout = saved_uiout; } static void