From 7cb83757934a2a41c5bb8492ce1c3b9624afd97a Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 20 Sep 1991 18:18:13 +0000 Subject: * language.c (_initialize_language): Fix type check and range check documentation strings. --- gdb/ChangeLog | 2 ++ gdb/language.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cf4b59f..066fbfb 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 ced2f5a..bcb00c7 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; -- cgit v1.1