aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/NEWS9
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e98fb87..30e160e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/NEWS b/gdb/NEWS
index 7518234..5a7e6c3 100644
--- 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