* command.c, main.c (various places): Use ctype.h macros
authorPer Bothner <per@bothner.com>
Wed, 25 Mar 1992 23:07:16 +0000 (23:07 +0000)
committerPer Bothner <per@bothner.com>
Wed, 25 Mar 1992 23:07:16 +0000 (23:07 +0000)
commit5c71cf23f98882e7a91e14b0c8f1f54045f5de29
treee1aa2eeb1ea2bf21899a60fddc6cf40611863bdb
parentc6b5156357f3afd193547ddcffb0c76e9ee1318e
* command.c, main.c (various places):  Use ctype.h macros
(such as isupper(x)),  instead of hard-wiring in ASCII-isms
(such as (x >= 'A' && x <= 'Z')).
(There are still more of these in other files.)
* main.c (defined_command):  Lower-case the user's
new command before entering it.  Needed because
command lookup is case-insensitive (and also lower-cases).
(Based on Metin's earlier patch.)
gdb/ChangeLog
gdb/command.c