diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/target.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8045153..16bf4f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-04-26 Ben Elliston <bje@redhat.com> + + * target.c (do_xfer_memory): Correct reference to the new option + "trust-readonly-sections". + 2002-04-26 Elena Zannoni <ezannoni@redhat.com> * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. diff --git a/gdb/target.c b/gdb/target.c index d5f205f..ddc012c 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; |