aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-main.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1b2519b..f15e616 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-20 Joseph Myers <joseph@codesourcery.com>
+
+ * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to
+ current_uiout, not uiout.
+
2011-09-19 Doug Evans <dje@google.com>
* 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 59fa576..4ab2012 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