diff options
author | Pedro Alves <palves@redhat.com> | 2016-03-09 18:24:59 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-03-09 18:24:59 +0000 |
commit | c70061cf94691182484924c79cbbdd2203ef92d5 (patch) | |
tree | 0548fecf1b2187076bb027867d5ead7f998dd797 /gdb/event-top.h | |
parent | 8a243832540cb3bd246192db1f0a4dfa44d92dcf (diff) | |
download | binutils-gdb-c70061cf94691182484924c79cbbdd2203ef92d5.tar.gz |
gdb_readline2 -> gdb_readline_no_editing_callback
The "2" in "gdb_readline2" doesn't really convey much. Rename for
clarity.
gdb/ChangeLog:
2016-03-09 Pedro Alves <palves@redhat.com>
* event-top.c (gdb_readline2): Rename to ...
(gdb_readline_no_editing_callback): ... this.
(change_line_handler, stdin_event_handler)
(gdb_setup_readline): Adjust.
* event-top.h (gdb_readline2): Rename to ...
(gdb_readline_no_editing_callback): ... this, and move closer to
other readline-related declarations.
* mi/mi-interp.c (mi_interpreter_resume): Adjust.
Diffstat (limited to 'gdb/event-top.h')
-rw-r--r-- | gdb/event-top.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.h b/gdb/event-top.h index 4f207700f0a..f9bd7b944ec 100644 --- a/gdb/event-top.h +++ b/gdb/event-top.h @@ -44,7 +44,6 @@ extern void handle_stop_sig (int sig); #endif extern void handle_sigint (int sig); extern void handle_sigterm (int sig); -extern void gdb_readline2 (void *client_data); extern void async_request_quit (void *arg); extern void stdin_event_handler (int error, void *client_data); extern void async_disable_stdin (void); @@ -62,6 +61,7 @@ extern void (*input_handler) (char *); extern int input_fd; extern void (*after_char_processing_hook) (void); extern int call_stdin_event_handler_again_p; +extern void gdb_readline_no_editing_callback (void *client_data); /* Wrappers for rl_callback_handler_remove and rl_callback_handler_install that keep track of whether the callback |