From 6763aef96797df7e9e496050a0cdb30e44b2586a Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 1 Feb 2002 17:21:28 +0000 Subject: [PATCH] 2002-01-30 Michael Snyder * gdb.texinfo (set trust-readonly-sections): Document. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f08d5cc9429..52ad3b8e5c0 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-30 Michael Snyder + + * gdb.texinfo (set trust-readonly-sections): Document. + 2002-01-29 Andrew Cagney * gdbint.texinfo (Releasing GDB): Revise and update. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ee3f8823e1d..d02fecf3733 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 -- 2.30.2