This is the mail archive of the gdb-patches@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]

Re: [PATCH RFC] Character set support


Andrew Cagney <ac131313@ges.redhat.com> writes:

>    At the moment, GDB only supports single-byte, stateless character
>    sets.  This includes the ISO-8859 family (ASCII extended with
>    accented characters, and (I think) Cyrillic, for European
>    languages), and the EBCDIC family (used on IBM's mainframes).
>    Unfortunately, it excludes many Asian scripts, the fixed- and
>    variable-width Unicode encodings, and other desireable things.
>    Patches are welcome!  (For example, it would be nice if the Java
>    string support could simply get absorbed into some more general
>    multi-byte encoding support.)

I think this should be mentioned in the documentation.

The user documentation explicitly lists all the character sets that
are supported.  There's nothing in the user interface that reveals the
implementation's restrictions.  Whether GDB is prepared internally to
handle others doesn't belong in the user docs, it seems to me.
I think it is also important to set the users expectations. If expressed right it may even encourage a reader to try to remove the restriction.

enjoy,
Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]