From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10548 invoked by alias); 4 Nov 2004 21:35:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 10539 invoked from network); 4 Nov 2004 21:35:52 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 4 Nov 2004 21:35:52 -0000 Received: from zaretski ([80.230.143.17]) by legolas.inter.net.il (MOS 3.5.3-GR) with ESMTP id DAL10234 (AUTH halo1); Thu, 4 Nov 2004 23:35:13 +0200 (IST) Date: Thu, 04 Nov 2004 21:35:00 -0000 From: "Eli Zaretskii" To: Daniel Jacobowitz Message-ID: <01c4c2b5$Blat.v2.2.2$91ae39c0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: schlie@comcast.net, gdb@sources.redhat.com In-reply-to: <20041104152243.GA28361@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 4 Nov 2004 10:22:43 -0500) Subject: Re: GDB 6.4 and translations Reply-to: Eli Zaretskii References: <01c4c229$Blat.v2.2.2$72d18d40@zahav.net.il> <20041104152243.GA28361@nevyn.them.org> X-SW-Source: 2004-11/txt/msg00041.txt.bz2 > Date: Thu, 4 Nov 2004 10:22:43 -0500 > From: Daniel Jacobowitz > Cc: Eli Zaretskii , gdb@sources.redhat.com > > Eli, the background is that GCC has adopted a new mechanism (the 'q' > qualifier to its internal diagnostics machinery, which takes > printf-like formats). This allows GCC to output Unicode quotes when > using the untranslated (i.e. English) messages - if the current locale > supports them. Thanks for explaining this. FWIW, I think GCC guys were too quick to assume that UTF-8 locales are good enough for this to be the default, but I agree that the fix is easy enough for users who bump into this problem. > People do still parse the CLI. They will no matter what we tell them. > Well, it's never been intended as a machine parseable interface That's true, but I think that some use of CLI is inevitable even if the front end uses MI as its main protocol. However, I think that a front end should set LC_MESSAGES=C before invoking an inferior GDB (or perhaps GDB should do this internally when invoked with -interp=mi?), and we should be careful not to translate any string printed by MI.