binutils-gdb/gdb/doc
Tom Tromey 11061048d1 Give a name to the TUI SingleKey keymap
Readline 8.0 has a feature that lets an application name a keymap.
This in turn makes it simpler for users to bind keys in keymaps in
their .inputrc.

This patch gives a name to the TUI SingleKey keymap, so that
additional bindings can be made there.  For example:

    $if gdb
    set keymap SingleKey
    "X": "echo hello\\n\n"
    $endif

The call to rl_initialize, in tui_initialize_readline, had to be
removed so that .inputrc was not read too early.  Note that Readline
explicitly documents that this call is not needed.

gdb/ChangeLog
2019-09-18  Tom Tromey  <tom@tromey.com>

	* NEWS: Add entry.
	* tui/tui.c (tui_initialize_readline): Set name of keymap.  Do not
	call rl_initialize.
	(tui_enable): Do not call rl_initialize.

gdb/doc/ChangeLog
2019-09-18  Tom Tromey  <tom@tromey.com>

	* gdb.texinfo (Editing): Document readline application name.
	(TUI Single Key Mode): Document TUI SingleKey keymap name.
2019-09-18 15:03:29 -06:00
..
.gitignore
ChangeLog Give a name to the TUI SingleKey keymap 2019-09-18 15:03:29 -06:00
Doxyfile-base.in
Doxyfile-gdb-api.in
Doxyfile-gdb-xref.in
Doxyfile-gdbserver.in
Makefile.in Make "all" depend on "info" 2019-04-07 17:01:18 -06:00
a4rc.sed
agentexpr.texi
all-cfg.texi
annotate.texinfo Add thread-exit annotation. 2019-06-06 11:35:15 -06:00
doxy-index.in
fdl.texi
filter-for-doxygen
filter-params.pl
gdb.texinfo Give a name to the TUI SingleKey keymap 2019-09-18 15:03:29 -06:00
gpl.texi
guile.texi gdb: Introduce 'print max-depth' feature 2019-04-29 22:01:09 +01:00
lpsrc.sed
psrc.sed
python.texi Add block['var'] accessor 2019-08-05 13:06:18 -05:00
refcard.tex
stabs.texinfo
stack_frame.eps
stack_frame.pdf
stack_frame.png
stack_frame.svg
stack_frame.txt