gpt4 book ai didi

gdb - gdb 中似乎缺少一些便利功能

转载 作者:行者123 更新时间:2023-12-04 05:00:56 48 4
gpt4 key购买 nike

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

最佳答案

从 GDB 7.6 版本开始 announcement :

** New Python-based convenience functions ($_memeq, $_streq, $_strlen and $_regex)



我猜 7.5.1 不够新鲜。

关于gdb - gdb 中似乎缺少一些便利功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16151113/

48 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com