Skip to content

Commit

Permalink
gdb: Fix a command example
Browse files Browse the repository at this point in the history
It was actually harder to type `cfp + 1`. `cfp 1` also works and is more
useful.
  • Loading branch information
k0kubun committed Apr 1, 2023
1 parent a3074c1 commit 3a238ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/gdb.py
Expand Up @@ -2,7 +2,7 @@

# 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
Expand Down

0 comments on commit 3a238ef

Please sign in to comment.