зеркало из https://github.com/github/ruby.git
gdb: Fix a command example
It was actually harder to type `cfp + 1`. `cfp 1` also works and is more useful.
This commit is contained in:
Родитель
a3074c1256
Коммит
3a238eff88
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче