This is the mail archive of the
mailing list for the GDB project.
Re: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313)
> > 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 "<My_Exported_Variable>"). If you
lowercase everything, you won't be able to do allow that for Fortran.