From c0e624e73fb1802a2bfe7143aeddeccd78bd3900 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 25 Jun 2002 05:39:18 +0000 Subject: * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. * target.c (initialize_targets): Fixed typo in trust-readonly-sections `show' documentation. --- gdb/cli/cli-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cli/cli-decode.c') 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' -- cgit v1.1