diff options
author | Hui Zhu <teawater@gmail.com> | 2009-04-30 02:52:15 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-04-30 02:52:15 +0000 |
commit | 28247708857ca8204e5e5875763b6bcd2de6a123 (patch) | |
tree | 4a0632137014ee755bf4f82c18cc27e90efb76e4 /gdb/gdbarch.sh | |
parent | 2399dc200feeba3c1ac78ce2404f6b156b393c31 (diff) | |
download | gdb-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-x | gdb/gdbarch.sh | 6 |
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 |