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
2 changed files with 18 additions and 0 deletions
|
@ -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>
|
2009-10-11 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* procfs.c (procfs_make_note_section): Go back to only outputing
|
* procfs.c (procfs_make_note_section): Go back to only outputing
|
||||||
|
|
|
@ -5172,6 +5172,19 @@ reswitch:
|
||||||
break;
|
break;
|
||||||
/* lgdt */
|
/* lgdt */
|
||||||
case 2:
|
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 */
|
/* lidt */
|
||||||
case 3:
|
case 3:
|
||||||
if (ir.mod == 3)
|
if (ir.mod == 3)
|
||||||
|
|
Loading…
Add table
Reference in a new issue