mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 11:59:27 +08:00
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:
@ -4041,7 +4041,7 @@ get_selections (int *choices, int n_choices, int max_results,
|
||||
if (prompt == NULL)
|
||||
prompt = "> ";
|
||||
|
||||
args = command_line_input (prompt, 0, annotation_suffix);
|
||||
args = command_line_input (prompt, annotation_suffix);
|
||||
|
||||
if (args == NULL)
|
||||
error_no_arg (_("one or more choice numbers"));
|
||||
|
Reference in New Issue
Block a user