summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-04-30 02:52:15 +0000
committerHui Zhu <teawater@gmail.com>2009-04-30 02:52:15 +0000
commit28247708857ca8204e5e5875763b6bcd2de6a123 (patch)
tree4a0632137014ee755bf4f82c18cc27e90efb76e4 /gdb/gdbarch.sh
parent2399dc200feeba3c1ac78ce2404f6b156b393c31 (diff)
downloadgdb-28247708857ca8204e5e5875763b6bcd2de6a123.tar.gz
GDBARCH interface for process record and replay.
* gdbarch.sh (process_record): This interface point to the function that records the inferior execute log.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index f93bfc1e3fb..ee0efa8bf97 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -709,6 +709,12 @@ F:char *:static_transform_name:char *name:name
# Set if the address in N_SO or N_FUN stabs may be zero.
v:int:sofun_address_maybe_missing:::0:0::0
+# Parse the instruction at ADDR storing in the record execution log
+# the registers REGCACHE and memory ranges that will be affected when
+# the instruction executes, along with their current values.
+# Return -1 if something goes wrong, 0 otherwise.
+M:int:process_record:struct regcache *regcache, CORE_ADDR addr:regcache, addr
+
# 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