summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-20 18:18:13 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-20 18:18:13 +0000
commit7cb83757934a2a41c5bb8492ce1c3b9624afd97a (patch)
tree282492fab8656d70155bf5365a8e0d125cbe5dcc
parentc2536607c63032261c1269387fefec6985cd6a70 (diff)
downloadppe42-binutils-7cb83757934a2a41c5bb8492ce1c3b9624afd97a.tar.gz
ppe42-binutils-7cb83757934a2a41c5bb8492ce1c3b9624afd97a.zip
* language.c (_initialize_language): Fix type check and range
check documentation strings.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/language.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cf4b59f6a3..066fbfb8ab 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Fri Sep 20 02:28:15 1991 John Gilmore (gnu at cygnus.com)
+ * language.c (_initialize_language): Fix type check and range
+ check documentation strings.
* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
language.c can use it. (Though language.c should really not be
handling warnings/errors the way it does, FIXME.)
diff --git a/gdb/language.c b/gdb/language.c
index ced2f5a48a..bcb00c7989 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -1064,13 +1064,13 @@ _initialize_language()
add_prefix_cmd ("check", no_class, show_check,
"Show the status of the type/range checker",
- &showchecklist, "set check ", 0, &showlist);
+ &showchecklist, "show check ", 0, &showlist);
add_alias_cmd ("c", "check", no_class, 1, &showlist);
add_alias_cmd ("ch", "check", no_class, 1, &showlist);
set = add_set_cmd ("type", class_support, var_string_noescape,
(char *)&type,
- "Set type checking on/warn/off/auto.",
+ "Set type checking. (on/warn/off/auto)",
&setchecklist);
show = add_show_from_set (set, &showchecklist);
set->function = set_type_command;
@@ -1078,7 +1078,7 @@ _initialize_language()
set = add_set_cmd ("range", class_support, var_string_noescape,
(char *)&range,
- "Set range checking on/warn/off/auto.",
+ "Set range checking. (on/warn/off/auto)",
&setchecklist);
show = add_show_from_set (set, &showchecklist);
set->function = set_range_command;
OpenPOWER on IntegriCloud