From cf53da4b636cd08245e4e81f022f3858e9f6551f Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 25 Apr 2012 20:55:47 +0000 Subject: [PATCH] back out previous change --- gdb/ChangeLog | 5 ----- gdb/cli/cli-decode.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 171e75bdbb8..3fea17df1a7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,8 +1,3 @@ -2012-04-25 Doug Evans - - * cli/cli-decode.c (print_doc_line): Use stream instead of - current_uiout. - 2012-04-25 Sergio Durigan Junior * features/arm-with-iwmmxt.c: Regenerate. diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index b9cfafafcca..da5f917dc1f 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -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 (stream, line_buffer); + ui_out_text (current_uiout, line_buffer); } /* Print one-line help for command C. -- 2.30.2