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 21:40:56, Eli Zaretskii wrote:
> > From: Pedro Alves <pedro@codesourcery.com>
> > Date: Wed, 16 Sep 2009 20:11:18 +0100
> > Cc: "Alexey Feldgendler" <alexeyf@opera.com>
> > 
> > Something like that would also be useful for Windows targets, and would
> > address PR9996:
> > 
> >  http://sourceware.org/bugzilla/show_bug.cgi?id=9996
> 
> Are you sure this PR still holds with the newer Cygwin 1.7? does
> Cygwin still use 2-byte wchar_t?

I'm not 100% sure, but I'm 99.9(9)% sure, but only because I
didn't take the trouble to confirm it myself.  Why wouldn't it?  Given
that 2-byte WCHAR is what Windows NT uses internally to store and handle
strings, and hence what is passed back and forth between Cygwin and
the NT and Win32 APIs Cygwin uses to do its business, switching away
from 2-byte wchar_t on Cygwin doesn't sound like a bad idea to me.

-- 
Pedro Alves


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