2002-01-30 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 31 Jan 2002 03:57:42 +0000 (03:57 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 31 Jan 2002 03:57:42 +0000 (03:57 +0000)
* NEWS: Mention "set trust-readonly-sections" command.

gdb/ChangeLog
gdb/NEWS

index e98fb87..30e160e 100644 (file)
@@ -1,6 +1,7 @@
 2002-01-30  Michael Snyder  <msnyder@redhat.com>
 
-       * NEWS: Mention generate-core-file command.
+       * NEWS: Mention "set trust-readonly-sections" command.
+       Mention generate-core-file command.
 
 2002-01-15  Michael Snyder  <msnyder@redhat.com>
 
index 7518234..5a7e6c3 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,15 @@
 
 *** Changes since GDB 5.1:
 
+* New command "set trust-readonly-sections on[off]".
+
+This command is a hint that tells gdb that read-only sections
+really are read-only (ie. that their contents will not change).
+In this mode, gdb will go to the object file rather than the
+target to read memory from read-only sections (such as ".text").
+This can be a significant performance improvement on some
+(notably embedded) targets.
+
 * New command "generate-core-file" (or "gcore").
 
 This new gdb command allows the user to drop a core file of the