This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, testsuite] check for UTF-32 target wide charset support in gdb.base/wchar.exp
- From: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <xdje42 at gmail dot com>, Sandra Loosemore <sandra at codesourcery dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Tue, 29 Sep 2015 14:50:27 +0100
- Subject: Re: [patch, testsuite] check for UTF-32 target wide charset support in gdb.base/wchar.exp
- Authentication-results: sourceware.org; auth=none
- References: <55FA325D dot 1020207 at codesourcery dot com> <8361397hwd dot fsf at gnu dot org> <55FA4CB5 dot 4010802 at codesourcery dot com> <m3si6cqqos dot fsf at sspiff dot org>
On 09/18/2015 05:47 AM, Doug Evans wrote:
> The question I have is what's the intent behind PHONY_ICONV?
> [The fact that it apparently tries to provide some minimal wide char
> support but defines GDB_DEFAULT_TARGET_WIDE_CHARSET as "ISO-8859-1"
> seems like a bug to me.]
>
> Is it intended that it provide some minimal wide char support?
I recall the feature being submitted and the follow up Solaris fixes,
but I wasn't the one doing the work, so I'm not 100% sure of anything,
but I believe the intention is to punt on wide char support with the least
extra code possible. That seems to be what the original submission
suggests as well:
https://sourceware.org/ml/gdb-patches/2009-01/msg00533.html
https://sourceware.org/ml/gdb-patches/2009-03/msg00420.html
along with the comments in mails around the follow up Solaris fixes:
https://www.sourceware.org/ml/gdb-patches/2010-08/msg00339.html
Thanks,
Pedro Alves