diff options
author | Tom Tromey <tromey@redhat.com> | 2002-06-25 05:39:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2002-06-25 05:39:18 +0000 |
commit | c0e624e73fb1802a2bfe7143aeddeccd78bd3900 (patch) | |
tree | d39f6352948aafd1e02b3c2b82b47b1a27f3d7c3 | |
parent | defc6f8c588dc477bcbfc3cd08f7b3960425371f (diff) | |
download | gdb-c0e624e73fb1802a2bfe7143aeddeccd78bd3900.zip gdb-c0e624e73fb1802a2bfe7143aeddeccd78bd3900.tar.gz gdb-c0e624e73fb1802a2bfe7143aeddeccd78bd3900.tar.bz2 |
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/cli/cli-decode.c | 2 | ||||
-rw-r--r-- | gdb/target.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 72a8f7e..94458b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index a6fadd9..3efee97 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -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' diff --git a/gdb/target.c b/gdb/target.c index 69f0345..a40cebd 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -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); |