Browse Source

* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.

* target.c (initialize_targets): Fixed typo in
	trust-readonly-sections `show' documentation.
binutils-2_13-branch
Tom Tromey 24 years ago
parent
commit
c0e624e73f
  1. 4
      gdb/ChangeLog
  2. 2
      gdb/cli/cli-decode.c
  3. 2
      gdb/target.c

4
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>

2
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'

2
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);

Loading…
Cancel
Save