aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-09-20 15:19:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-09-20 15:19:28 +0000
commit67ba4e42a079555c4717512fa28e24b119c71818 (patch)
tree06ca433c53b11fe8da0a5cfe5109041d29906a66
parentfix pr reference (diff)
downloadbinutils-gdb-67ba4e42a079555c4717512fa28e24b119c71818.tar.gz
binutils-gdb-67ba4e42a079555c4717512fa28e24b119c71818.tar.bz2
binutils-gdb-67ba4e42a079555c4717512fa28e24b119c71818.zip
* mi/mi-main.c (mi_load_progress): Restore saved_uiout value to
current_uiout, not uiout.
-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 1b2519b0249..f15e6167352 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 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