From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20994 invoked by alias); 1 Mar 2010 20:44:50 -0000 Received: (qmail 20945 invoked by uid 22791); 1 Mar 2010 20:44:48 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Mar 2010 20:44:41 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KYM00600EATA100@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Mon, 01 Mar 2010 22:44:34 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.54.31]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KYM00EEKEY7XJ01@a-mtaout20.012.net.il>; Mon, 01 Mar 2010 22:44:33 +0200 (IST) Date: Mon, 01 Mar 2010 20:44:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds In-reply-to: <20100301193126.GA9416@caradoc.them.org> To: Daniel Jacobowitz Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83eik34vr8.fsf@gnu.org> References: <20100228130500.GG5683@calimero.vinschen.de> <20100228142905.GB1556@caradoc.them.org> <20100228150318.GA32463@calimero.vinschen.de> <20100228184749.GA17375@caradoc.them.org> <20100228192159.GP5683@calimero.vinschen.de> <20100228222702.GC29360@caradoc.them.org> <20100301103125.GB9730@calimero.vinschen.de> <20100301173054.GD5683@calimero.vinschen.de> <20100301193126.GA9416@caradoc.them.org> 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-03/txt/msg00032.txt.bz2 > Date: Mon, 1 Mar 2010 14:31:31 -0500 > From: Daniel Jacobowitz > Cc: gdb-patches@sourceware.org > > If you build an i686-mingw32 to arm-linux debugger, and suddenly > that defaults to UTF-16 instead of UCS-4, then I've got a problem. The same is true in the other direction. It sounds like, for cross debugging, the only fair default is ASCII. That way, each user will have to set the right target charset, and no one will feel they are children of a lesser god. But for native Windows debugging what Corinna suggests is just about right, I think.