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]

[RFA] Process record and replay, 9/10


This patch add code make process record and replay can record I386
Linux system call execute log.

2008-11-06  Hui Zhu  <teawater@gmail.com>

	I386 Linux process record and replay support.

	* i386-linux-tdep.c (linux_record_tdep): New variable. This
	struct has the argument for the function
	"record_linux_system_call".
	(i386_linux_intx80_sysenter_record): New function. Parse the
	system call instruction and call function
	"record_linux_system_call" record execute log.
	(i386_linux_init_abi): Initialize "linux_record_tdep". Set
	"i386_linux_intx80_sysenter_record" to "i386_intx80_record"
	and "i386_sysenter_record".

 i386-linux-tdep.c |  317 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 317 insertions(+)

Attachment: i386-linux-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]