aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-31 03:57:42 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-31 03:57:42 +0000
commit1a70374818c962c98ac3e43f516887abc87fc6b6 (patch)
treed7f453b511648f95e7404a857bc2d6ef630365b6
parentcefd4ef53ff0474d9f5fc67bb389b771f371373a (diff)
downloadfsf-binutils-gdb-1a70374818c962c98ac3e43f516887abc87fc6b6.zip
fsf-binutils-gdb-1a70374818c962c98ac3e43f516887abc87fc6b6.tar.gz
fsf-binutils-gdb-1a70374818c962c98ac3e43f516887abc87fc6b6.tar.bz2
2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention "set trust-readonly-sections" command.
-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