aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.c b/gdb/command.c
index ec5bfc0..6643ad8 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -370,7 +370,7 @@ lookup_cmd (line, list, cmdtype, allow_unknown)
while (*p == '-'
|| (*p >= 'a' && *p <= 'z')
|| (*p >= 'A' && *p <= 'Z')
- || (*p >= '1' && *p <= '9'))
+ || (*p >= '0' && *p <= '9'))
{
if (*p >= 'A' && *p <= 'Z')
*p += 'a' - 'A';