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/mi | |
parent | 8a243832540cb3bd246192db1f0a4dfa44d92dcf (diff) | |
download | fsf-binutils-gdb-c70061cf94691182484924c79cbbdd2203ef92d5.zip fsf-binutils-gdb-c70061cf94691182484924c79cbbdd2203ef92d5.tar.gz fsf-binutils-gdb-c70061cf94691182484924c79cbbdd2203ef92d5.tar.bz2 |
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/mi')
-rw-r--r-- | gdb/mi/mi-interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 7f42367..d02012c 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -181,7 +181,7 @@ mi_interpreter_resume (void *data) /* These overwrite some of the initialization done in _intialize_event_loop. */ - call_readline = gdb_readline2; + call_readline = gdb_readline_no_editing_callback; input_handler = mi_execute_command_input_handler; async_command_editing_p = 0; /* FIXME: This is a total hack for now. PB's use of the MI |