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  <tom@tromey.com>

	* 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.
This commit is contained in:
Tom Tromey
2018-08-15 18:37:00 -06:00
parent 1258253330
commit 89fbedf3ab
7 changed files with 18 additions and 13 deletions

View File

@@ -309,7 +309,7 @@ typedef void initialize_file_ftype (void);
extern char *gdb_readline_wrapper (const char *);
extern char *command_line_input (const char *, int, const char *);
extern char *command_line_input (const char *, const char *);
extern void print_prompt (void);