]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
authorTom Tromey <tromey@redhat.com>
Tue, 25 Jun 2002 05:39:18 +0000 (05:39 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 25 Jun 2002 05:39:18 +0000 (05:39 +0000)
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.

gdb/ChangeLog
gdb/cli/cli-decode.c
gdb/target.c

index 72a8f7ea69427849a09445e9de415dcebecf6175..94458b0e17b4a706122443172512f3255770e7dd 100644 (file)
@@ -1,5 +1,9 @@
 2002-06-24  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.
+
        * main.c: Marked all strings with _().
 
 2002-06-24  Don Howard  <dhoward@redhat.com>
index a6fadd9136024eb69f5e89ba77813aef17bfc513..3efee979ebcfc6fdb4826594299061fa69c3fda8 100644 (file)
@@ -437,7 +437,7 @@ add_setshow_boolean_cmd (char *name,
    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'
index 69f034513e4ea394ba0d8053db5eaf6a9e40b37e..a40cebd90b4cca5de19bd9fbe3a6cfcd749829e6 100644 (file)
@@ -2305,7 +2305,7 @@ Set mode for reading from readonly sections.\n\
 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);