From 1a70374818c962c98ac3e43f516887abc87fc6b6 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 31 Jan 2002 03:57:42 +0000 Subject: [PATCH] 2002-01-30 Michael Snyder * NEWS: Mention "set trust-readonly-sections" command. --- gdb/ChangeLog | 3 ++- gdb/NEWS | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e98fb875d8d..30e160ef2fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,7 @@ 2002-01-30 Michael Snyder - * NEWS: Mention generate-core-file command. + * NEWS: Mention "set trust-readonly-sections" command. + Mention generate-core-file command. 2002-01-15 Michael Snyder diff --git a/gdb/NEWS b/gdb/NEWS index 7518234f6f7..5a7e6c38c77 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 -- 2.30.2