我在 linux 上使用 gdb 7.5.1 版,并试图使用方便的功能,比如$_memeq
发现它显然不存在:
Undefined command: "$_memeq". Try "help".
当我输入时,help function
我得到这个输出:
(gdb) help function
Placeholder command for showing help on convenience functions.
List of function subcommands:
Type "help function" followed by function subcommand name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
甚至apropos memeq
什么都不返回。为什么会这样?