From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14715 invoked by alias); 15 Apr 2009 15:47:22 -0000 Received: (qmail 14688 invoked by uid 22791); 15 Apr 2009 15:47:19 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Apr 2009 15:47:13 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KI500L00FS92D00@i_mtaout2.012.net.il> for gdb-patches@sources.redhat.com; Wed, 15 Apr 2009 18:47:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.34.97]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KI500G0JFUJVF10@i_mtaout2.012.net.il>; Wed, 15 Apr 2009 18:47:08 +0300 (IDT) Date: Wed, 15 Apr 2009 15:47:00 -0000 From: Eli Zaretskii Subject: Re: Configuring gdb_wchar.h In-reply-to: To: Tom Tromey Cc: gdb-patches@sources.redhat.com Reply-to: Eli Zaretskii Message-id: <83y6u1ly0r.fsf@gnu.org> References: <8363hboz5x.fsf@gnu.org> <833acbo32k.fsf@gnu.org> <83myajma7a.fsf@gnu.org> <83iql7m7r1.fsf@gnu.org> <83hc0rm1mh.fsf@gnu.org> <8363h6mdue.fsf@gnu.org> 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-04/txt/msg00315.txt.bz2 > Cc: gdb-patches@sources.redhat.com > From: Tom Tromey > Date: Wed, 15 Apr 2009 09:08:13 -0600 > > Your situation is somewhat odd. You have a working iconv but no way > to get a list of available character sets. This ought to be a rare > setup. > > In this case I chose to make gdb fall back on a fairly large built-in > list. If you try pick a charset which your iconv cannot handle, gdb > should give an error. Right, that does work as you say: (gdb) set target-charset CP839 Undefined item: "CP839". Although I find it odd that GDB insists on the charsets to be in UPPERCASE. This is okay: (gdb) set target-charset ISO-8859-1 but this is not: (gdb) set target-charset iso-8859-1 Undefined item: "iso-8859-1". > Eli> I will upgrade to a newer libiconv and try with that, once the result > Eli> for 1.7 is as expected (whatever that might be). > > I think the current result is as good as any other. OK, then on to upgrading libiconv. Thanks.