gdb reverse debugging avx2
问题 So I have a new fancy cpu that supports avx2 instruction set. This is great, but breaks gdb reverse debugging. When compiling with no optimisations code still uses shared libraries, eg calls memset() which then goes and invokes an avx2 optimised version of memset. This is great but avx2 is not supported by gdb record. process record does not support instruction 0xc5 at address 0x7ffff690dd80. 0xc5 is the vex prefix here. reverse debugging works great with a cpu that does not support avx2. How