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

时间:2013-12-04 01:27:46

标签: gdb reverse-debugging

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

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

这似乎与here讨论的问题相同,但从未得到解决。这是我的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/>.

提前感谢您的帮助。

1 个答案:

答案 0 :(得分:6)

来自documentation

  

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

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

您的目标:x86_64-apple-darwin12不属于上述目标。

抱歉,未实施: - (