2010-04-08 Hui Zhu <teawater@gmail.com>

* i386-tdep.c (i386_process_record): Add support for insn
	rdtsc.
This commit is contained in:
Hui Zhu 2010-04-08 09:23:06 +00:00
parent 24af6f9228
commit f8c4f48020
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-04-08 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_process_record): Add support for insn
rdtsc.
2010-04-07 Doug Evans <dje@google.com>
* python/python.c (source_python_script): Use ensure_python_env

View File

@ -5395,10 +5395,8 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
break;
case 0x0f31: /* rdtsc */
printf_unfiltered (_("Process record does not support "
"instruction rdtsc.\n"));
ir.addr -= 2;
goto no_support;
I386_RECORD_ARCH_LIST_ADD_REG (X86_RECORD_REAX_REGNUM);
I386_RECORD_ARCH_LIST_ADD_REG (X86_RECORD_REDX_REGNUM);
break;
case 0x0f34: /* sysenter */