“target record-full” in gdb makes “n” command fail on printf with “Process record does not support instruction 0xc5 at address 0x7ffff7dee6e7”?

十年热恋 提交于 2019-11-29 08:06:20

AVX is not supported as of GDB 7.11.1

The underlying problem seems to be that AVX instructions are not currently supported, but glibc uses them on Ubuntu 16.04 64-bit:

rr is an awesome working alternative: https://github.com/mozilla/rr Here is a minimal working example: Setting breakpoint in GDB where the function returns

Actually for the simple case you have, a record-full should work if you add the parameter "-static" to your gcc compilation command.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!