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]

Re: [RFA] Resubmit process record and replay, 9/10


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

2008-11-16 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.

... to record an execution 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 |  318 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 318 insertions(+)

Following is the diff with the previous patch:

And again, don't know how others feel, but I personally would rather see the diff against the current cvs state.

With, if appropriate, a short verbal description of changes
since the previous patch.

If I'm wrong about the group preference, ok. ;-)


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