From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21985 invoked by alias); 8 Nov 2010 18:31:47 -0000 Received: (qmail 21976 invoked by uid 22791); 8 Nov 2010 18:31:46 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Nov 2010 18:31:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EBB402BAC87; Mon, 8 Nov 2010 13:31:39 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3XcFdnv93fVW; Mon, 8 Nov 2010 13:31:39 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B6ED72BAC86; Mon, 8 Nov 2010 13:31:39 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 56532145907; Mon, 8 Nov 2010 10:31:33 -0800 (PST) Date: Mon, 08 Nov 2010 18:31:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313) Message-ID: <20101108183133.GE2933@adacore.com> References: <20101107035038.GB8598@host0.dyn.jankratochvil.net> <20101108163544.GB2933@adacore.com> <20101108170215.GA18692@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101108170215.GA18692@host0.dyn.jankratochvil.net> 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-11/txt/msg00125.txt.bz2 > > Just a thought, since I don't really know what this would entail, but > > shouldn't we just fix the lookup routines instead? I think that would > > be cleaner. > > Do you/anyone know a compiler preserving the source case for some case > insensitive language? I don't, but I'm just trying to see if we can evaluate the work that would be required to make lookups case-insensitive, rather than lowercasing the entity names. If you think it's very hard, then, OK, let's consider your approach. Note that with Ada, one can still export entities using a name that has mixed casing. We allow the user to reference them from GDB using the "<[...]>" syntax (Eg: "print ""). If you lowercase everything, you won't be able to do allow that for Fortran. -- Joel