diff options
author | Magne Hov <mhov@undo.io> | 2023-12-13 11:45:49 +0000 |
---|---|---|
committer | Magne Hov <mhov@undo.io> | 2023-12-13 11:45:49 +0000 |
commit | 14a2449eee4654bee0686020e6eeb4e4f2a8f9ca (patch) | |
tree | 7e636fc5b5e69a53f8c1daee6d82a040b87cb176 /gdb/tui | |
parent | 8170efad364aa8e062cba3b722b81aca9eda8cf5 (diff) | |
download | gdb-14a2449eee4654bee0686020e6eeb4e4f2a8f9ca.zip gdb-14a2449eee4654bee0686020e6eeb4e4f2a8f9ca.tar.gz gdb-14a2449eee4654bee0686020e6eeb4e4f2a8f9ca.tar.bz2 |
[gdb/tui] add SingleKey bindings for reverse execution commands
The bindings for the reverse execution commands are the same letters
as the forward execution command, but with the opposite case. This way
one can simply hold down the Shift modifier key or tap the Caps Lock key
to change the direction of execution.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 33aced2..885588a 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -85,13 +85,19 @@ struct tui_char_command mode. */ static const struct tui_char_command tui_commands[] = { { 'c', "continue" }, + { 'C', "reverse-continue" }, { 'd', "down" }, { 'f', "finish" }, + { 'F', "reverse-finish" }, { 'n', "next" }, + { 'N', "reverse-next" }, { 'o', "nexti" }, + { 'O', "reverse-nexti" }, { 'r', "run" }, { 's', "step" }, + { 'S', "reverse-step" }, { 'i', "stepi" }, + { 'I', "reverse-stepi" }, { 'u', "up" }, { 'v', "info locals" }, { 'w', "where" }, |