This is the mail archive of the 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]

RE: [RFA] Process record and replay, 8/10


I just couldn't wait and wanted to try this out.
I applied all 10 patches, but my compilation fails. 

cc1: warnings being treated as errors
../../src/gdb/i386-tdep.c: In function âi386_gdbarch_initâ:
../../src/gdb/i386-tdep.c:5536: warning: implicit declaration of function âset_gdbarch_process_recordâ

When I grep for ïgdbarch_process_record in the set of patches, I see some new methods
being used but never declared.  Am I missing a patch?  Or have I been coding with Java too long :-)



> -----Original Message-----
> From: 
> [] On Behalf Of teawater
> Sent: Thursday, November 06, 2008 2:51 AM
> To:
> Subject: [RFA] Process record and replay, 8/10
> This patch add code to make I386 architecture support process 
> record and replay.
> 2008-11-06  Hui Zhu  <>
> 	I386 architecture process record and replay support.
> 	PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the I386
> 	instruction.
> 	(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 change in 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 can record "intx80" and "sysenter" execute log.
>  i386-tdep.c | 2706 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  i386-tdep.h |    3
>  2 files changed, 2709 insertions(+)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]