aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-08-15 18:37:00 -0600
committerTom Tromey <tom@tromey.com>2018-08-17 16:39:06 -0600
commit89fbedf3abc90b62fbb7f08782ed78d87b3fccaa (patch)
tree7cd80645b6c9d85b4d5e6610bcaec5375f5529a6 /gdb/defs.h
parent12582533306990c9406aedd960fa411c317a67de (diff)
downloadgdb-89fbedf3abc90b62fbb7f08782ed78d87b3fccaa.zip
gdb-89fbedf3abc90b62fbb7f08782ed78d87b3fccaa.tar.gz
gdb-89fbedf3abc90b62fbb7f08782ed78d87b3fccaa.tar.bz2
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/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 4cf83f0..fc42170 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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);