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: [patch, testsuite] check for UTF-32 target wide charset support in gdb.base/wchar.exp


> Date: Wed, 16 Sep 2015 21:24:13 -0600
> From: Sandra Loosemore <sandra@codesourcery.com>
> 
> If GDB is configured without ICONV support, the target wide charset 
> defaults to "ISO-8859-1" (which isn't even a wide charset), and all the 
> wide strings in this test print as gibberish.  Otherwise, GDB seems to 
> think the default is "auto; currently UTF-32", so let's make the 
> dependency on UTF-32 explicit here and bail out if it's not available.

Why UTF-32, hard-coded?  Why not allow also UTF-16, for example?


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