Default target wide character set
Pedro Alves
pedro@codesourcery.com
Wed Sep 16 19:11:00 GMT 2009
On Wednesday 16 September 2009 19:55:52, Tom Tromey wrote:
> What I would propose doing is adding a new charset named "UCS". If this
> is selected as the target wide charset, then we would automatically pick
> UCS-2 or UCS-4 depending on sizeof(target wchar_t). This would probably
> mean having a few special cases in the code (like we do for the -BE and
> -LE variants). We would then make this the default target wide charset.
>
> What do you think of that?
Something like that would also be useful for Windows targets, and would
address PR9996:
http://sourceware.org/bugzilla/show_bug.cgi?id=9996
--
Pedro Alves
More information about the Gdb-patches
mailing list