aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-09 11:54:39 -0700
committerTom Tromey <tom@tromey.com>2019-11-11 16:58:30 -0700
commitc86d74cc7d442414a62752187aa10f49f0ac0de7 (patch)
treeff96279c9408b2e2edcf58b18864191320cbfae7 /gdb/doc
parentc71acd153e7c48284f7c47b9f15467f9a6b77e78 (diff)
downloadgdb-c86d74cc7d442414a62752187aa10f49f0ac0de7.zip
gdb-c86d74cc7d442414a62752187aa10f49f0ac0de7.tar.gz
gdb-c86d74cc7d442414a62752187aa10f49f0ac0de7.tar.bz2
Document and extend readline-bindable functions
This adds readline-bindable function names to a few gdb functions that already had key bindings. This lets users change the bindings. This also removes the gdb-command function. Due to how this function is implemented, it doesn't make sense to allow binding it. Finally, this updates the documentation to reflect these changes. gdb/ChangeLog 2019-11-11 Tom Tromey <tom@tromey.com> * tui/tui.c (tui_initialize_readline): Add new bindable readline functions. gdb/doc/ChangeLog 2019-11-11 Tom Tromey <tom@tromey.com> * gdb.texinfo (TUI Keys): Document readline function names. Change-Id: I2233779b7aefe372f19bd03c8f325733c3385e72
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo15
2 files changed, 19 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3c77d4f..0da4c9d 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@
2019-11-11 Tom Tromey <tom@tromey.com>
+ * gdb.texinfo (TUI Keys): Document readline function names.
+
+2019-11-11 Tom Tromey <tom@tromey.com>
+
* gdb.texinfo (Editing): Document operate-and-get-next.
2019-11-11 Tom Tromey <tromey@adacore.com>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 05accca..398167f 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -27621,6 +27621,9 @@ its standard mode, writing on the terminal directly. When reentering
the TUI mode, control is given back to the curses windows.
The screen is then refreshed.
+This key binding uses the bindable Readline function
+@code{tui-switch-mode}.
+
@kindex C-x 1
@item C-x 1
Use a TUI layout with only one window. The layout will
@@ -27629,6 +27632,9 @@ is not active, it will switch to the TUI mode.
Think of this key binding as the Emacs @kbd{C-x 1} binding.
+This key binding uses the bindable Readline function
+@code{tui-delete-other-windows}.
+
@kindex C-x 2
@item C-x 2
Use a TUI layout with at least two windows. When the current
@@ -27638,6 +27644,9 @@ previous layout and the new one.
Think of it as the Emacs @kbd{C-x 2} binding.
+This key binding uses the bindable Readline function
+@code{tui-change-windows}.
+
@kindex C-x o
@item C-x o
Change the active window. The TUI associates several key bindings
@@ -27646,10 +27655,16 @@ gives the focus to the next TUI window.
Think of it as the Emacs @kbd{C-x o} binding.
+This key binding uses the bindable Readline function
+@code{tui-other-window}.
+
@kindex C-x s
@item C-x s
Switch in and out of the TUI SingleKey mode that binds single
keys to @value{GDBN} commands (@pxref{TUI Single Key Mode}).
+
+This key binding uses the bindable Readline function
+@code{next-keymap}.
@end table
The following key bindings only work in the TUI mode: