* i386-tdep.c (i386_process_record): Add xgetbv/xsetbv
instructions support.
+2009-10-12 Jiang Jilin <freephp@gmail.com>
+
+ * i386-tdep.c (i386_process_record): Add xgetbv/xsetbv
+ instructions support.
+
2009-10-11 Pedro Alves <pedro@codesourcery.com>
* procfs.c (procfs_make_note_section): Go back to only outputing
break;
/* lgdt */
case 2:
+ if (ir.mod == 3)
+ {
+ /* xgetbv */
+ if (ir.rm == 0)
+ {
+ I386_RECORD_ARCH_LIST_ADD_REG (X86_RECORD_REAX_REGNUM);
+ I386_RECORD_ARCH_LIST_ADD_REG (X86_RECORD_REDX_REGNUM);
+ break;
+ }
+ /* xsetbv */
+ else if (ir.rm == 1)
+ break;
+ }
/* lidt */
case 3:
if (ir.mod == 3)