From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29565 invoked by alias); 26 Jul 2005 06:57:54 -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 29378 invoked by uid 22791); 26 Jul 2005 06:57:51 -0000 Received: from webmail.streamline-computing.com (HELO webmail.streamline-computing.com) (82.133.39.164) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 26 Jul 2005 06:57:51 +0000 Received: from [82.15.12.114] (helo=cpc4-oxfd8-3-0-cust114.oxfd.cable.ntl.com) by webmail.streamline-computing.com with asmtp (Exim 3.35 #1 (Debian)) id 1DxJGd-0000Px-00; Tue, 26 Jul 2005 07:50:19 +0100 Subject: Re: gfortran - gdb problem From: David Lecomber To: Daniel Jacobowitz Cc: Wu Zhou , kamaraju@gmail.com, fortran@gcc.gnu.org, gdb In-Reply-To: <20050726031703.GA25841@nevyn.them.org> References: <20050725130929.GA2090@nevyn.them.org> <20050726031703.GA25841@nevyn.them.org> Content-Type: text/plain Date: Tue, 26 Jul 2005 06:57:00 -0000 Message-Id: <1122361436.5625.22.camel@cpc4-oxfd8-3-0-cust114.oxfd.cable.ntl.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-07/txt/msg00239.txt.bz2 > The fact is, our symbol table does not support case insensitive lookup. > I suppose one cheap solution to this would be to lower case based on CU > language when reading in the symbol table, but that's not a very pretty > solution. Perhaps Elena (the symbol table maintainer) has another idea. It's presently got a bit of a mix up.. If you look in symtab.c's lookup_symbol, you see it checks the language's sensitivity and converts to lower case if so. However, if you look at what any of the code which adds symbols does, none of it actually converts any fortran symbols to lower case before putting them in the table. Result, total mess up if your compiler happens to put things in upper case in the dwarf section, for example (such as Absoft). Most compilers I've seen generate only lower case for Fortran. Cheers David -- David Lecomber CTO Allinea Software Tel: +44 1926 623231 Fax: +44 1926 623232