diff options
author | Hui Zhu <teawater@gmail.com> | 2010-04-08 09:23:06 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2010-04-08 09:23:06 +0000 |
commit | f8c4f480201a0ec57a9b9597c0ed91e7594c462a (patch) | |
tree | dfddaf1fe996f8a72cc4b4e37b010e32e1319842 /gdb/i386-tdep.c | |
parent | 24af6f9228b80380fab3fe3fdb4ba82a4a10b13b (diff) | |
download | gdb-f8c4f480201a0ec57a9b9597c0ed91e7594c462a.zip gdb-f8c4f480201a0ec57a9b9597c0ed91e7594c462a.tar.gz gdb-f8c4f480201a0ec57a9b9597c0ed91e7594c462a.tar.bz2 |
2010-04-08 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_process_record): Add support for insn
rdtsc.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index ce658cd..9e0f61f 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -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 */ |