* mi/mi-main.c (mi_load_progress): Restore saved_uiout value to
authorJoseph Myers <joseph@codesourcery.com>
Tue, 20 Sep 2011 15:19:28 +0000 (15:19 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 20 Sep 2011 15:19:28 +0000 (15:19 +0000)
current_uiout, not uiout.

gdb/ChangeLog
gdb/mi/mi-main.c

index 1b2519b0249df8710298e11f160bb929c19232fa..f15e6167352e725a2533dcd5fd27b7749bb66470 100644 (file)
@@ -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
index 59fa5764a6898b12cc5f11372273521549a1f6da..4ab2012950b40714c5e89c6d9ab066eeccb9d091 100644 (file)
@@ -2266,7 +2266,7 @@ mi_load_progress (const char *section_name,
     }
 
   xfree (uiout);
-  uiout = saved_uiout;
+  current_uiout = saved_uiout;
 }
 
 static void