From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22725 invoked by alias); 16 Sep 2009 20:46:16 -0000 Received: (qmail 22716 invoked by uid 22791); 16 Sep 2009 20:46:15 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 20:46:10 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8GKjh72005753; Wed, 16 Sep 2009 16:45:44 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8GKjhZw006431; Wed, 16 Sep 2009 16:45:43 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8GKjfCE012201; Wed, 16 Sep 2009 16:45:42 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 6FE8E37819C; Wed, 16 Sep 2009 14:45:41 -0600 (MDT) From: Tom Tromey To: Eli Zaretskii Cc: Pedro Alves , gdb-patches@sourceware.org, alexeyf@opera.com Subject: Re: Default target wide character set References: <200909162011.19409.pedro@codesourcery.com> <83ws3ywrl3.fsf@gnu.org> Reply-To: Tom Tromey Date: Wed, 16 Sep 2009 20:46:00 -0000 In-Reply-To: <83ws3ywrl3.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Sep 2009 23:40:56 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00533.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: >> http://sourceware.org/bugzilla/show_bug.cgi?id=9996 Eli> Are you sure this PR still holds with the newer Cygwin 1.7? does Eli> Cygwin still use 2-byte wchar_t? I don't know about that, but the underlying problem remains: you can have a target-wide-charset which disagrees with your target, and get nonsense. There's not even any good way for GDB to detect and warn about this. I've been meaning to add a note to the manual for a while explaining this gotcha. It is pretty confusing when it does happen. Tom