This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Pedro, According to your mail. I fix some format errors of this patch. 1. Change all if (foo) { bar (); } to if (foo) bar (); 2. Make all files don't have any line exceeding 80 columns. Do you think this patch is OK? Thanks, Hui On Thu, Jan 8, 2009 at 13:49, teawater <teawater@gmail.com> wrote: > This patch add code to make I386 architecture support process record and replay. > > 2009-01-08 Hui Zhu <teawater@gmail.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. > > 2008-12-28 Michael Snyder <msnyder@vmware.com> > * Comments, spelling, white space clean-ups. > > 2008-08-01 Michael Snyder <msnyder@vmware.com> > * i386-tdep.c (i386_record_lea_modrm): Spelling fix. >
Attachment:
7-i386-tdep.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |