aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-04-25 18:58:57 +0000
committerDoug Evans <dje@google.com>2012-04-25 18:58:57 +0000
commitee4d97bc8bb645ccbe2259c43021fcb3de931b19 (patch)
treec95c37db2a0863b37bbf45ecbc4fbd1627c2e8a5 /gdb/cli
parent4e2f8df673369ac03d523aa2ff1ecd11fbf9cb22 (diff)
downloadgdb-ee4d97bc8bb645ccbe2259c43021fcb3de931b19.zip
gdb-ee4d97bc8bb645ccbe2259c43021fcb3de931b19.tar.gz
gdb-ee4d97bc8bb645ccbe2259c43021fcb3de931b19.tar.bz2
* cli/cli-decode.c (print_doc_line): Use stream instead of
current_uiout.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index da5f917..b9cfafa 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);
+ ui_out_text (stream, line_buffer);
}
/* Print one-line help for command C.