diff options
author | Doug Evans <dje@google.com> | 2012-04-25 21:56:01 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-04-25 21:56:01 +0000 |
commit | b6201d445c11d11c727de34d69080c2cce7d1273 (patch) | |
tree | a3f9f1306c9bde04aeac7b0f3e379daebfb6caa0 | |
parent | cf53da4b636cd08245e4e81f022f3858e9f6551f (diff) | |
download | gdb-b6201d445c11d11c727de34d69080c2cce7d1273.zip gdb-b6201d445c11d11c727de34d69080c2cce7d1273.tar.gz gdb-b6201d445c11d11c727de34d69080c2cce7d1273.tar.bz2 |
* cli/cli-decode.c (print_doc_line): Use stream instead of
current_uiout.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/cli/cli-decode.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3fea17d..171e75b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index da5f917..2dc8192 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 (current_uiout, line_buffer); + fputs_filtered (line_buffer, stream); } /* Print one-line help for command C. |