aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorRuslan Kabatsayev <b7.10110111@gmail.com>2017-08-16 21:44:29 +0300
committerRuslan Kabatsayev <b7.10110111@gmail.com>2017-08-16 21:44:29 +0300
commita5afdb1665ab0e030034d40f871b5cc17cda3969 (patch)
tree8ffbf2da564800b5121f5580ccc7acc84561928e /gdb/doc
parent1a457753cfad05989574c671a221ffce2d5df703 (diff)
downloadgdb-a5afdb1665ab0e030034d40f871b5cc17cda3969.zip
gdb-a5afdb1665ab0e030034d40f871b5cc17cda3969.tar.gz
gdb-a5afdb1665ab0e030034d40f871b5cc17cda3969.tar.bz2
Add shortcuts for "nexti" and "stepi" commands in Single-Key mode
Currently, "layout asm" is not so useful as "layout src" with Single-Key mode: you have to use multi-key commands like "ni" and "si" to do single-stepping. This patch adds, in addition to "next" and "step" commands, corresponding assembly-level ones - "nexti" and "stepi" - to Single-Key mode, with the shortcuts of "o" (from "step Over") and "i" (from "Step Into") respectively. gdb/ChangeLog: * tui/tui.c (tui_commands): Add "nexti" and "stepi" to the Single-Key mode command list. gdb/doc/ChangeLog: * gdb.texinfo (TUI Single Key Mode): Document the new shortcuts in Single-Key mode.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo8
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 4b40698..8e3e5ce 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-16 Ruslan Kabatsayev <b7.10110111@gmail.com>
+
+ * gdb.texinfo (TUI Single Key Mode): Document the new shortcuts in
+ Single-Key mode.
+
2017-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/21925
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7528183..0d39a55 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -25415,6 +25415,10 @@ finish
@item n
next
+@kindex o @r{(SingleKey TUI key)}
+@item o
+nexti. The shortcut letter @samp{o} stands for ``step Over''.
+
@kindex q @r{(SingleKey TUI key)}
@item q
exit the SingleKey mode.
@@ -25427,6 +25431,10 @@ run
@item s
step
+@kindex i @r{(SingleKey TUI key)}
+@item i
+stepi. The shortcut letter @samp{i} stands for ``step Into''.
+
@kindex u @r{(SingleKey TUI key)}
@item u
up