From 89fbedf3abc90b62fbb7f08782ed78d87b3fccaa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 15 Aug 2018 18:37:00 -0600 Subject: Remove "repeat" argument from command_line_input After the previous patch, all callers pass 0 as the repeat argument to command_line_input. So, this patch removes it. gdb/ChangeLog 2018-08-16 Tom Tromey * top.c (read_command_file): Update. (command_line_input): Remove "repeat" argument. * ada-lang.c (get_selections): Update. * linespec.c (decode_line_2): Update. * defs.h (command_line_input): Remove argument. * cli/cli-script.c (read_next_line): Update. * python/py-gdb-readline.c: Update. --- gdb/cli/cli-script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cli/cli-script.c') diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index d03b3bc..8496fb8 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -903,7 +903,7 @@ read_next_line (void) else prompt_ptr = NULL; - return command_line_input (prompt_ptr, 0, "commands"); + return command_line_input (prompt_ptr, "commands"); } /* Return true if CMD's name is NAME. */ -- cgit v1.1