aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-01 17:21:28 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-01 17:21:28 +0000
commit6763aef96797df7e9e496050a0cdb30e44b2586a (patch)
tree299b6eac5600b8cc8676bb7d5050df70af29dc0b /gdb/doc
parent9e0665bc9af8a002bc0683fc963f6885b2b929f8 (diff)
downloadfsf-binutils-gdb-6763aef96797df7e9e496050a0cdb30e44b2586a.zip
fsf-binutils-gdb-6763aef96797df7e9e496050a0cdb30e44b2586a.tar.gz
fsf-binutils-gdb-6763aef96797df7e9e496050a0cdb30e44b2586a.tar.bz2
2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly-sections): Document.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo15
2 files changed, 19 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index f08d5cc..52ad3b8 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-30 Michael Snyder <msnyder@redhat.com>
+
+ * gdb.texinfo (set trust-readonly-sections): Document.
+
2002-01-29 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Releasing GDB): Revise and update.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index ee3f882..d02fecf 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9410,6 +9410,21 @@ COFF shared library information.
Section contains common symbols.
@end table
@end table
+@kindex set trust-readonly-sections
+@item set trust-readonly-sections on
+Tell @value{GDBN} that readonly sections in your object file
+really are read-only (ie.@: that their contents will not change).
+In that case, @value{GDBN} can fetch values from these sections
+out of the object file, rather than from the target program.
+For some targets (notably embedded ones), this can be a significant
+enhancement to debugging performance.
+
+The default is off.
+
+@item set trust-readonly-sections off
+Tell @value{gdbn} not to trust readonly sections. This means that
+the contents of the section might change while the program is running,
+and must therefore be fetched from the target when needed.
@end table
All file-specifying commands allow both absolute and relative file names