From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9008 invoked by alias); 27 Aug 2009 02:06:50 -0000 Received: (qmail 8907 invoked by uid 22791); 27 Aug 2009 02:06:49 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Aug 2009 02:06:43 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 04CE510928; Thu, 27 Aug 2009 02:06:41 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id D22921065E; Thu, 27 Aug 2009 02:06:40 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MgUNr-0003ju-Qx; Wed, 26 Aug 2009 22:06:39 -0400 Date: Thu, 27 Aug 2009 02:22:00 -0000 From: Daniel Jacobowitz To: Tom Tromey , gdb-patches@sourceware.org Subject: Iconv / Solaris Message-ID: <20090827020639.GA13935@caradoc.them.org> Mail-Followup-To: Tom Tromey , gdb-patches@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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-08/txt/msg00472.txt.bz2 Hi Tom, Just confirming what I said on IRC: __STDC_ISO_10646__ is not defined anywhere, but with __sun__ your patch from here: http://sourceware.org/ml/gdb-patches/2009-07/msg00434.html fixes an otherwise broken GDB on Solaris. I think UCS-4 is right, but the Solaris documentation isn't clear; maybe it would be clear if I understood wide characters better. Actually, poking around the internet, it looks like wchar_t's contents may be locale-dependent... -- Daniel Jacobowitz CodeSourcery