This is the mail archive of the gdb-patches@sourceware.org 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: Default target wide character set


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


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