From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25813 invoked by alias); 16 Sep 2009 19:11:14 -0000 Received: (qmail 25804 invoked by uid 22791); 16 Sep 2009 19:11:13 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_66,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 19:11:09 +0000 Received: (qmail 321 invoked from network); 16 Sep 2009 19:11:06 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 16 Sep 2009 19:11:06 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, tromey@redhat.com Subject: Re: Default target wide character set Date: Wed, 16 Sep 2009 19:11:00 -0000 User-Agent: KMail/1.9.10 Cc: "Alexey Feldgendler" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200909162011.19409.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00525.txt.bz2 On Wednesday 16 September 2009 19:55:52, Tom Tromey wrote: > What I would propose doing is adding a new charset named "UCS". =A0If this > is selected as the target wide charset, then we would automatically pick > UCS-2 or UCS-4 depending on sizeof(target wchar_t). =A0This would probably > mean having a few special cases in the code (like we do for the -BE and > -LE variants). =A0We would then make this the default target wide charset. >=20 > 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=3D9996 --=20 Pedro Alves