gpt4 book ai didi

x86 - 如何转储 gdb 中的所有 XMM 寄存器?

转载 作者:行者123 更新时间:2023-12-02 01:42:47 25 4
gpt4 key购买 nike

我可以使用以下命令转储 gdb 中的所有整数寄存器:

info registers

对于 xmm 寄存器(intel),我需要一个如下文件:

print $xmm0
print $xmm1
...
print $xmm15

然后获取该文件。有没有更简单的方法?

最佳答案

(gdb) apropos registers
collect -- Specify one or more data items to be collected at a tracepoint
core-file -- Use FILE as core dump for examining memory and registers
info all-registers -- List of all registers and their contents
...

最后一个就是你想要的。

另请参阅this answer下面。

关于x86 - 如何转储 gdb 中的所有 XMM 寄存器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9949595/

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