diff options
author | Hui Zhu <teawater@gmail.com> | 2009-04-30 03:12:17 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-04-30 03:12:17 +0000 |
commit | 7ad10968513bdf1f4af09a74f6b51547547ad2bd (patch) | |
tree | 4238ad98642e270fbd42c416f8ce5b60a1450c3c /gdb/ChangeLog | |
parent | 96429cc88348ab437aba4dbf80c264351eb0b62d (diff) | |
download | gdb-7ad10968513bdf1f4af09a74f6b51547547ad2bd.zip gdb-7ad10968513bdf1f4af09a74f6b51547547ad2bd.tar.gz gdb-7ad10968513bdf1f4af09a74f6b51547547ad2bd.tar.bz2 |
I386 architecture process record and replay support.
* i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK,
PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the i386
instruction set.
(aflag, dflag, override, modrm, mod, reg, rm, ot,
i386_record_pc): New variables. Ditto.
(i386_record_modrm, i386_record_lea_modrm_addr,
i386_record_lea_modrm): New functions. Ditto.
(i386_process_record): New function. Parse the instruction in
address "addr" and record the values of registers and memory
that will be changed by this instruction.
(i386_gdbarch_init): Set "i386_process_record" to GDBARCH
"process_record" interface.
* i386-tdep.h (gdbarch_tdep): New function pointers
"i386_intx80_record" and "i386_sysenter_record" that point to
the function that can record "intx80" and "sysenter" execute
log.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea1c14e..afe7560 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,28 @@ 2009-04-30 Hui Zhu <teawater@gmail.com> Michael Snyder <msnyder@vmware.com> + I386 architecture process record and replay support. + + * i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK, + PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the i386 + instruction set. + (aflag, dflag, override, modrm, mod, reg, rm, ot, + i386_record_pc): New variables. Ditto. + (i386_record_modrm, i386_record_lea_modrm_addr, + i386_record_lea_modrm): New functions. Ditto. + (i386_process_record): New function. Parse the instruction in + address "addr" and record the values of registers and memory + that will be changed by this instruction. + (i386_gdbarch_init): Set "i386_process_record" to GDBARCH + "process_record" interface. + * i386-tdep.h (gdbarch_tdep): New function pointers + "i386_intx80_record" and "i386_sysenter_record" that point to + the function that can record "intx80" and "sysenter" execute + log. + +2009-04-30 Hui Zhu <teawater@gmail.com> + Michael Snyder <msnyder@vmware.com> + * infrun.c (use_displaced_stepping): Return false if process record and replay target is used. (proceed): Call function "record_not_record_set" if pocess |