gdb似乎缺少一些便利功能

时间:2013-04-22 15:40:18

标签: gdb

我在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都不会返回任何内容。为什么会这样?

1 个答案:

答案 0 :(得分:2)

从GDB 7.6发布announcement

  

**新的基于Python的便利功能($ _memeq,$ _streq,          $ _strlen和$ _regex)

我猜7.5.1还不够新鲜。

相关问题