Record support for sahf/lahf opcodes on x86_64
Fri Aug 2 12:12:00 GMT 2019
GDB currently stops with the message
"Process record does not support instruction 0x9f at address 0x..."
when encountering a lahf instruction in x86_64 code (and similar, 0x9e
for sahf). If I understand correctly, the code that handles lahf:
case 0x9f: /* lahf */
ir.addr -= 1;
is meant to reject lahf/sahf unless running in 32-bit mode. But
lahf/sahf are valid on 64-bit too, so would it be ok to remove the
checks from i386-tdep.c ? Patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 810 bytes
Desc: not available
More information about the Gdb-patches