GDB错误:“进程记录:当前架构不支持记录功能”

2024-05-05

我正在尝试在 GDB 中进行反向执行,特别是target record按照说明在 gdb 中运行我的程序后here https://stackoverflow.com/questions/1206872/go-to-previous-line-in-gdb,并触发以下错误:

Process record: the current architecture doesn't support record function.

这似乎是讨论的同一个问题但从未得到解决。这是我的 gdb 版本信息:

alexcannon$ gdb -version
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin12.5.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

预先感谢您的任何帮助。


From 文档 http://www.sourceware.org/gdb/news/reversible.html:

目前,只有某些目标调试环境支持反向调试。目前这些目标包括:

  • 本机 i386-linux ('目标记录')
  • 本机 amd64-linux ('目标记录')
  • Several remote targets, including:
    • 莫西精灵模拟器
    • Simics
    • VMware工作站7.0
    • SID模拟器(xstormy16架构)
    • 使用 valgrind 的 Chronicle-gdbserver
    • UndoDB

您的目标:x86_64-apple-darwin12以上都不是。

抱歉,未实施:-(

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

GDB错误:“进程记录:当前架构不支持记录功能” 的相关文章

随机推荐