GDB错误:"进程记录:当前体系结构不支持记录功能"

aca*_*828 4 gdb reverse-debugging

我正在尝试在GDB中执行反向执行,特别target record是按照此处的说明在gdb中运行我的程序之后执行,并触发以下错误:

Process record: the current architecture doesn't support record function.
Run Code Online (Sandbox Code Playgroud)

这似乎与此处讨论的问题相同,但从未得到解决.这是我的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/>.
Run Code Online (Sandbox Code Playgroud)

在此先感谢您的帮助.

Emp*_*ian 6

来自文档:

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

  • 原生i386-linux('目标记录')
  • 本机amd64-linux('目标记录')
  • 几个远程目标,包括:
    • moxie-elf模拟器
    • Simics中
    • VMware Workstation 7.0
    • SID模拟器(xstormy16架构)
    • 使用valgrind的chronicle-gdbserver
    • UndoDB

你的目标:x86_64-apple-darwin12不是上述目标.

对不起,没有实施:-(