This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gfortran - gdb problem
> 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