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, 7/10


This patch add code to make GNU/Linux native-dependent code can record
execute log with itself.

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

	Record execute log in linux-nat.

	* linux-nat.c (my_waitpid_record): New function. This function
	can resume and wait inferior and record execute log of it.
	(linux_nat_wait): If process record and replay target is used
	and this is not a step resume, call function
	"my_waitpid_record" instead function "my_waitpid".

 linux-nat.c |  122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 121 insertions(+), 1 deletion(-)

Attachment: linux-nat.txt
Description: Text document


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