From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5498 invoked by alias); 26 Jul 2005 09:01:02 -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 4795 invoked by uid 22791); 26 Jul 2005 09:00:56 -0000 Received: from ausmtp01.au.ibm.com (HELO ausmtp01.au.ibm.com) (202.81.18.186) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 26 Jul 2005 09:00:56 +0000 Received: from sd0112e0.au.ibm.com (d23rh903.au.ibm.com [202.81.18.201]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j6Q91TZC196654 for ; Tue, 26 Jul 2005 19:01:41 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.250.244]) by sd0112e0.au.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6Q8xKfq155682 for ; Tue, 26 Jul 2005 19:01:43 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11/8.13.3) with ESMTP id j6Q5BqNi019695 for ; Tue, 26 Jul 2005 15:11:52 +1000 Received: from [9.181.134.203] ([9.181.134.203]) by d23av03.au.ibm.com (8.12.11/8.12.11) with ESMTP id j6Q5Bim6019581; Tue, 26 Jul 2005 15:11:47 +1000 Date: Tue, 26 Jul 2005 09:01:00 -0000 From: Wu Zhou X-X-Sender: woodzltc@localhost.localdomain To: Daniel Jacobowitz cc: kamaraju@gmail.com, fortran@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: gfortran - gdb problem In-Reply-To: <20050726031703.GA25841@nevyn.them.org> Message-ID: References: <20050725130929.GA2090@nevyn.them.org> <20050726031703.GA25841@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-07/txt/msg00241.txt.bz2 On Mon, 25 Jul 2005, Daniel Jacobowitz wrote: > No; adding checks specific to the language is almost always wrong. The > only case insensitive languages in the GDB source tree are Scheme (and > I don't think the Scheme support has worked in many years) and Fortran. > So disabling it for Fortran is about the same as deleting the code > entirely. OK. I cancel this method. I don't know the big picture before. > > Here's the original patch: > http://sourceware.org/ml/gdb-patches/2000-08/msg00025.html > > Presumably, whatever HP Fortran compiler Jimmy Guo was trying to add > support for always generated symbols in lowercase, so this was > sufficient. gfortran doesn't. It appears to use case somewhat > inconsistently. > > 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. IMHO, the case insensitive lookup might be the long-term resolution. What about define "strcmp" as an macro of "strcasecmp" if case_sensitive is false? This might seems ugly, but it should help here. Regards - Wu Zhou