aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-06-22 02:15:46 +0000
committerHui Zhu <teawater@gmail.com>2010-06-22 02:15:46 +0000
commitbb08c4320780f40a8a5210164fe5f13df795460c (patch)
treed95469f4483845828e398024973a3502bbd42c4c /gdb/doc
parentb55078be0adf688f7da6bc6feb6f7687dc319cc4 (diff)
downloadgdb-bb08c4320780f40a8a5210164fe5f13df795460c.zip
gdb-bb08c4320780f40a8a5210164fe5f13df795460c.tar.gz
gdb-bb08c4320780f40a8a5210164fe5f13df795460c.tar.bz2
2010-06-22 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_record_lea_modrm): Change warning to query. (i386_process_record): Ditto. * record.c (record_memory_query): New variable. (_initialize_record): New command "set record memory-query". * record.h (record_memory_query): New extern. 2010-06-22 Hui Zhu <teawater@gmail.com> * gdb.texinfo: (Process Record and Replay): Add documentation for command "set record memory-query".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo16
2 files changed, 21 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index cc85752..9736fd8 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-22 Hui Zhu <teawater@gmail.com>
+
+ * gdb.texinfo: (Process Record and Replay): Add documentation
+ for command "set record memory-query".
+
2010-06-21 Stan Shebs <stan@codesourcery.com>
* gdb.texinfo: Relicense under GFDL version 1.3.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index bc1dbec..2f5ba45 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -5694,6 +5694,22 @@ oldest record to make room for each new one, without asking.
@item show record stop-at-limit
Show the current setting of @code{stop-at-limit}.
+@kindex set record memory-query
+@item set record memory-query
+Control the behavior when @value{GDBN} is unable to record memory
+changes caused by an instruction. If ON, @value{GDBN} will query
+whether to stop the inferior in that case.
+
+If this option is OFF (the default), @value{GDBN} will automatically
+ignore the effect of such instructions on memory. Later, when
+@value{GDBN} replays this execution log, it will mark the log of this
+instruction as not accessible, and it will not affect the replay
+results.
+
+@kindex show record memory-query
+@item show record memory-query
+Show the current setting of @code{memory-query}.
+
@kindex info record
@item info record
Show various statistics about the state of process record and its