summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-01 00:23:32 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-01 00:23:35 -0700
commit3a238eff88440f450a7871fc82e49bfb1ab336e5 (patch)
tree9f00ec5413824323e3dc140e055a76c78625a588 /misc
parenta3074c1256f210cdd9eb21d636b231e8e64ee496 (diff)
downloadruby-3a238eff88440f450a7871fc82e49bfb1ab336e5.tar.gz
gdb: Fix a command example
It was actually harder to type `cfp + 1`. `cfp 1` also works and is more useful.
Diffstat (limited to 'misc')
-rw-r--r--misc/gdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/gdb.py b/misc/gdb.py
index f882f60853..85507fb540 100644
--- a/misc/gdb.py
+++ b/misc/gdb.py
@@ -2,7 +2,7 @@ import textwrap
# Usage:
# cfp: Dump the current cfp
-# cfp + 1: Dump the caller cfp
+# cfp 1: Dump the caller cfp
class CFP(gdb.Command):
FRAME_MAGICS = [
# frame types