2009-10-12 Jiang Jilin <freephp@gmail.com>
* i386-tdep.c (i386_process_record): Add xgetbv/xsetbv instructions support.
This commit is contained in:
parent
1c7814eddb
commit
3800e64539
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -5172,6 +5172,19 @@ reswitch:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user