This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andrew Cagney <ac131313 at redhat dot com> writes:
Hmm,
(gdb) set charset <tab>
doesn't work. If that was fixed (using GDB's enum cli method), the command would become case sensitive. Since GDB's CLI is case sensative in general that would make sense.
Actually, the CLI is inconsistent:
zenia:jimb$ gdb GNU gdb 2003-04-17-cvs Copyright 2003 Free Software Foundation, Inc. ... Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) print 0 $1 = 0 (gdb) PRINT 0 $2 = 0 (gdb) PrInT 0 $3 = 0 (gdb)
It seems to me that: - cli-decode.c should use safe-charset.h, - the enum code in cli-setshow.c should be changed to be case-insensitive, using safe-charset.h, and
- charset.c should be changed to use an enum, for completion's sake.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |