From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2054 invoked by alias); 28 Feb 2010 19:23:31 -0000 Received: (qmail 2040 invoked by uid 22791); 28 Feb 2010 19:23:30 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Sun, 28 Feb 2010 19:23:25 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 27D3F6D42F5; Sun, 28 Feb 2010 20:23:23 +0100 (CET) Date: Sun, 28 Feb 2010 19:23:00 -0000 From: Corinna Vinschen To: gdb-patches@sourceware.org Subject: Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds Message-ID: <20100228192323.GQ5683@calimero.vinschen.de> Reply-To: gdb-patches@sourceware.org Mail-Followup-To: gdb-patches@sourceware.org References: <20100228130500.GG5683@calimero.vinschen.de> <838wadcn94.fsf@gnu.org> <20100228170523.GI5683@calimero.vinschen.de> <83y6idb6fs.fsf@gnu.org> <20100228175239.GM5683@calimero.vinschen.de> <20100228181105.GO5683@calimero.vinschen.de> <83r5o5b2zk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83r5o5b2zk.fsf@gnu.org> 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: 2010-02/txt/msg00700.txt.bz2 On Feb 28 20:59, Eli Zaretskii wrote: > > Date: Sun, 28 Feb 2010 19:11:05 +0100 > > From: Corinna Vinschen > > > > #define GDB_DEFAULT_TARGET_CHARSET get_cp() > > > > char * > > get_cp () > > { > > char buf[32]; > > > > snprintf (buf, 32, "CP%u", GetACP ()); > > } > > > > should do it, right? > > Yes, I think so. Apparently not, see http://sourceware.org/ml/gdb-patches/2010-02/msg00694.html Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat