From 3a238eff88440f450a7871fc82e49bfb1ab336e5 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 1 Apr 2023 00:23:32 -0700 Subject: gdb: Fix a command example It was actually harder to type `cfp + 1`. `cfp 1` also works and is more useful. --- misc/gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3