* cli/cli-decode.c (print_doc_line): Use stream instead of
authorDoug Evans <dje@google.com>
Wed, 25 Apr 2012 21:56:01 +0000 (21:56 +0000)
committerDoug Evans <dje@google.com>
Wed, 25 Apr 2012 21:56:01 +0000 (21:56 +0000)
current_uiout.

gdb/ChangeLog
gdb/cli/cli-decode.c

index 3fea17df1a7fe562f92319c4888c030cefbf5758..171e75bdbb86daad3bfda56211975748d137fa2a 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-25  Doug Evans  <dje@google.com>
+
+       * cli/cli-decode.c (print_doc_line): Use stream instead of
+       current_uiout.
+
 2012-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * features/arm-with-iwmmxt.c: Regenerate.
index da5f917dc1f3900ab4a820ab4fa2aa75e92f9c89..2dc8192e1571dddbb772f9fdab94ce151fff8c5d 100644 (file)
@@ -1018,7 +1018,7 @@ print_doc_line (struct ui_file *stream, char *str)
   line_buffer[p - str] = '\0';
   if (islower (line_buffer[0]))
     line_buffer[0] = toupper (line_buffer[0]);
-  ui_out_text (current_uiout, line_buffer);
+  fputs_filtered (line_buffer, stream);
 }
 
 /* Print one-line help for command C.