From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19981 invoked by alias); 3 Mar 2010 20:26:02 -0000 Received: (qmail 19963 invoked by uid 22791); 3 Mar 2010 20:26:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Mar 2010 20:25:58 +0000 Received: (qmail 16525 invoked from network); 3 Mar 2010 20:25:57 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Mar 2010 20:25:57 -0000 Date: Wed, 03 Mar 2010 20:26:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds Message-ID: <20100303202554.GB9310@caradoc.them.org> References: <20100303170645.GA23545@caradoc.them.org> <20100303172217.GR17293@calimero.vinschen.de> <20100303173307.GA25653@caradoc.them.org> <20100303180044.GU17293@calimero.vinschen.de> <20100303180506.GA14979@caradoc.them.org> <20100303182210.GW17293@calimero.vinschen.de> <20100303193934.GA20358@caradoc.them.org> <83mxyp2m9x.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83mxyp2m9x.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-03/txt/msg00122.txt.bz2 On Wed, Mar 03, 2010 at 10:16:58PM +0200, Eli Zaretskii wrote: > It may be easier to have a simple emulation of nl_langinfo for MinGW. > Then both Cygwin and MinGW will call nl_langinfo, and each one will > get the value it wants. Would that solve the problem? No, not quite - that has the problem I was just discussing with Corinna. The ideal (and achievable) choice for a Cygwin debugger running a non-Cygwin program is the system codeset. This is a common scenario, at least for me; I do it all the time. I can't promise when I'll get to it, not with a release coming up at work, but if no one else does, I'll try to; this would be useful to me. -- Daniel Jacobowitz CodeSourcery