This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] target.c patch
- From: Ben Elliston <bje at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 26 Apr 2002 17:09:36 -0400 (EDT)
- Subject: [RFA] target.c patch
I noticed a comment about a "trust-readonly" option, yet it is called
"trust-readonly-sections" -- fixed. Okay to commit?
Ben
2002-04-26 Ben Elliston <bje@redhat.com>
* target.c (do_xfer_memory): Correct reference to the new option
"trust-readonly-sections".
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.33
diff -u -r1.33 target.c
--- target.c 1 Feb 2002 01:01:21 -0000 1.33
+++ target.c 26 Apr 2002 21:07:52 -0000
@@ -861,9 +861,9 @@
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;