diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-01 00:23:32 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-01 00:23:35 -0700 |
commit | 3a238eff88440f450a7871fc82e49bfb1ab336e5 (patch) | |
tree | 9f00ec5413824323e3dc140e055a76c78625a588 | |
parent | a3074c1256f210cdd9eb21d636b231e8e64ee496 (diff) | |
download | ruby-3a238eff88440f450a7871fc82e49bfb1ab336e5.tar.gz |
gdb: Fix a command example
It was actually harder to type `cfp + 1`. `cfp 1` also works and is more
useful.
-rw-r--r-- | misc/gdb.py | 2 |
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 |