From 67ba4e42a079555c4717512fa28e24b119c71818 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 20 Sep 2011 15:19:28 +0000 Subject: [PATCH] * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to current_uiout, not uiout. --- gdb/ChangeLog | 5 +++++ gdb/mi/mi-main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2