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


teawater wrote:
This patch is add two function pointers interface to GDB architecture
support layer for process record and replay.

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

GDBARCH interface for process record and replay.

	* gdbarch.sh (process_record): This interface point to the
	function that record the inferior execute log.

... that records the inferior execution log.


(process_record_dasm): This interface point to the function

... points to ...


that will be call to set inferior status according to the

... that will be called ...


instruction in replay mode.

Except for those grammatical corrections, I think this portion of the patch is in good shape.

Anybody disagree?


gdbarch.sh | 4 ++++ 1 file changed, 4 insertions(+)


------------------------------------------------------------------------


--- a/gdbarch.sh
+++ b/gdbarch.sh
@@ -698,6 +698,10 @@ F:char *:static_transform_name:char *nam
# Set if the address in N_SO or N_FUN stabs may be zero.
v:int:sofun_address_maybe_missing:::0:0::0
+# For the process record and replay target
+M:int:process_record:CORE_ADDR addr:addr
+M:void:process_record_dasm:void
+
# Signal translation: translate inferior's signal (host's) number into
# GDB's representation.
m:enum target_signal:target_signal_from_host:int signo:signo::default_target_signal_from_host::0


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