This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Patch: FYI: two typo fixes
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 24 Jun 2002 23:52:00 -0600
- Subject: Patch: FYI: two typo fixes
- Reply-to: tromey at redhat dot com
I'm checking this in under the obvious fix rule.
This fixes a typo in a comment. It also changes a `Set' to `Show' in
the show text for a boolean variable.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.36
diff -u -r1.36 target.c
--- target.c 15 Jun 2002 21:07:58 -0000 1.36
+++ target.c 25 Jun 2002 05:37:53 -0000
@@ -2305,7 +2305,7 @@
When this mode is on, memory reads from readonly sections (such as .text)\n\
will be read from the object file instead of from the target. This will\n\
result in significant performance improvement for remote targets.", "\
-Set mode for reading from readonly sections.\n",
+Show mode for reading from readonly sections.\n",
NULL, NULL,
&setlist, &showlist);
Index: cli/cli-decode.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-decode.c,v
retrieving revision 1.24
diff -u -r1.24 cli-decode.c
--- cli/cli-decode.c 15 Jun 2002 22:05:33 -0000 1.24
+++ cli/cli-decode.c 25 Jun 2002 05:37:54 -0000
@@ -437,7 +437,7 @@
command to LIST and return a pointer to the added command (not
necessarily the head of LIST). */
/* NOTE: cagney/2002-03-17: The original version of add_show_from_set
- used memcpy() to clone `set' into `show'. This ment that in
+ used memcpy() to clone `set' into `show'. This meant that in
addition to all the needed fields (var, name, et.al.) some
unnecessary fields were copied (namely the callback function). The
function explictly copies relevant fields. For a `set' and `show'