diff options
author | Tom Tromey <tom@tromey.com> | 2018-08-15 18:37:00 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-08-17 16:39:06 -0600 |
commit | 89fbedf3abc90b62fbb7f08782ed78d87b3fccaa (patch) | |
tree | 7cd80645b6c9d85b4d5e6610bcaec5375f5529a6 /gdb/python/py-gdb-readline.c | |
parent | Fix use-after-free in number_or_range_parser (diff) | |
download | binutils-gdb-89fbedf3abc90b62fbb7f08782ed78d87b3fccaa.tar.gz binutils-gdb-89fbedf3abc90b62fbb7f08782ed78d87b3fccaa.tar.bz2 binutils-gdb-89fbedf3abc90b62fbb7f08782ed78d87b3fccaa.zip |
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.
Diffstat (limited to 'gdb/python/py-gdb-readline.c')
-rw-r--r-- | gdb/python/py-gdb-readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-gdb-readline.c b/gdb/python/py-gdb-readline.c index a95be41c49f..66f1ea81dc9 100644 --- a/gdb/python/py-gdb-readline.c +++ b/gdb/python/py-gdb-readline.c @@ -41,7 +41,7 @@ gdbpy_readline_wrapper (FILE *sys_stdin, FILE *sys_stdout, TRY { - p = command_line_input (prompt, 0, "python"); + p = command_line_input (prompt, "python"); } /* Handle errors by raising Python exceptions. */ CATCH (except, RETURN_MASK_ALL) |