From 2181a6c6267eb62cc4feebb82a44907ae3c1ee2c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 28 Sep 2015 18:34:54 -0400 Subject: cli-script.c: Fix read_next_line's comment It seems obvious to me that stdout should in fact be stdin. gdb/ChangeLog: * cli/cli-script.c (read_next_line): Fix stdout -> stdout in comment. --- gdb/cli/cli-script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/cli/cli-script.c') diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 6a3c068..4d35db9 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -924,9 +924,9 @@ realloc_body_list (struct command_line *command, int new_length) command->body_count = new_length; } -/* Read next line from stdout. Passed to read_command_line_1 and +/* Read next line from stdin. Passed to read_command_line_1 and recurse_read_control_structure whenever we need to read commands - from stdout. */ + from stdin. */ static char * read_next_line (void) -- cgit v1.1