This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Resubmit process record and replay, 1/10
- From: Michael Snyder <msnyder at vmware dot com>
- To: teawater <teawater at gmail dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 19 Nov 2008 17:39:48 -0800
- Subject: Re: [RFA] Resubmit process record and replay, 1/10
- References: <daef60380811160016u5ddd4b3fy7db1a12b8cacad5f@mail.gmail.com>
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