GDB错误:“处理记录:当前体系结构不支持记录功能” [英] GDB error: "Process record: the current architecture doesn't support record function"

查看:163
本文介绍了GDB错误:“处理记录:当前体系结构不支持记录功能”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在GDB中执行反向执行,特别是在按照说明在gdb中运行我的程序后执行目标记录 此处,并触发以下错误:

 过程记录:当前体系结构不支持记录功能。 

这似乎与这里,但从未解决。这里是我的gdb版本信息:

$ $ $ $ $ $ gdb -version $ b $ GNU gdb($ gdb)$ $ $ $ $ $ (C)2013 Free Software Foundation,Inc.
许可证GPLv3 +:GNU GPL版本3或更高版本< http://gnu.org/licenses/gpl.html>
这是免费软件:您可以自由更改和重新分配它。
在法律允许的范围内,不存在任何担保。有关详细信息,请键入显示复制
和显示保修。
这个GDB被配置为x86_64-apple-darwin12.5.0。
有关错误报告的说明,请参阅:
< http://www.gnu.org/software/gdb/bugs/> ;.

预先感谢您的帮助。

解决方案

通过文档


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


  • 原生i386-linux('目标记录')

  • 原生amd64 -linux('target record')

  • 几个远程目标,包括:

    • moxie-elf模拟器
    • Simics

    • VMware Workstation 7.0
    • SID模拟器(xstormy16架构)
    • chronicle- gdbserver使用valgrind
    • UndoDB



您的目标: x86_64-apple-darwin12 不在上述内容中。



对不起,没有实现: - (


I'm trying to do reverse execution in GDB, specifically doing target record after running my program in gdb as per the instructions here, and triggering the following error:

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

This seems to be the same issue discussed here but was never resolved. Here's my gdb version info:

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/>.

Thanks in advance for any help.

解决方案

From documentation:

Presently, only certain target debugging environments will support reverse debugging. Those targets currently include:

  • Native i386-linux ('target record')
  • Native amd64-linux ('target record')
  • Several remote targets, including:
    • moxie-elf simulator
    • Simics
    • VMware Workstation 7.0
    • the SID simulator (xstormy16 architecture)
    • chronicle-gdbserver using valgrind
    • UndoDB

Your target: x86_64-apple-darwin12 is none of the above.

Sorry, not implemented :-(

这篇关于GDB错误:“处理记录:当前体系结构不支持记录功能”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆