2

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

4

1 回答 1

3

来自 GDB 7.6 发布公告

** 新的基于 Python 的便利函数($_memeq、$_streq、$_strlen 和 $_regex)

我猜7.5.1还不够新鲜。

于 2013-04-26T15:00:33.887 回答