From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24181 invoked by alias); 28 Feb 2010 18:48:04 -0000 Received: (qmail 24165 invoked by uid 22791); 28 Feb 2010 18:48: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; Sun, 28 Feb 2010 18:47:56 +0000 Received: (qmail 12414 invoked from network); 28 Feb 2010 18:47:54 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Feb 2010 18:47:54 -0000 Date: Sun, 28 Feb 2010 18:48:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds Message-ID: <20100228184749.GA17375@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20100228130500.GG5683@calimero.vinschen.de> <20100228142905.GB1556@caradoc.them.org> <20100228150318.GA32463@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100228150318.GA32463@calimero.vinschen.de> 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-02/txt/msg00694.txt.bz2 On Sun, Feb 28, 2010 at 04:03:18PM +0100, Corinna Vinschen wrote: > If the codeset is target-specific anyway, then the idea of the > GDB_DEFAULT_TARGET_WIDE_CHARSET and GDB_DEFAULT_TARGET_CHARSET variables > is either wrong, or it must be possible to define them somewhere > on a per-target base. What about windows-tdep.h? If it has to be per-target at all, it needs to go in gdbarch; it can't be a #define any more, because we support multiple compiled-in architectures. This is going to be significantly more complicated, though; there needs to be an "auto (currently cp1252)" style setting. -- Daniel Jacobowitz CodeSourcery