From 2ceb85d0bde7d6269f092819d1bfc96ba48a8ee1 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 26 Apr 2002 22:11:52 +0000 Subject: [PATCH] 2002-04-26 Ben Elliston * target.c (do_xfer_memory): Correct reference to the new option "trust-readonly-sections". --- gdb/ChangeLog | 5 +++++ gdb/target.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8045153987d..16bf4f707dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-04-26 Ben Elliston + + * target.c (do_xfer_memory): Correct reference to the new option + "trust-readonly-sections". + 2002-04-26 Elena Zannoni * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. diff --git a/gdb/target.c b/gdb/target.c index d5f205fda0f..ddc012c4f83 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -861,9 +861,9 @@ do_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, if (!write && trust_readonly) { - /* User-settable option, "trust-readonly". If true, then - memory from any SEC_READONLY bfd section may be read - directly from the bfd file. */ + /* User-settable option, "trust-readonly-sections". If true, + then memory from any SEC_READONLY bfd section may be read + directly from the bfd file. */ struct section_table *secp; -- 2.30.2