This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313)
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Joel Brobecker'" <brobecker at adacore dot com>, "'Jan Kratochvil'" <jan dot kratochvil at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 8 Nov 2010 18:17:56 +0100
- Subject: RE: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313)
- References: <20101107035038.GB8598@host0.dyn.jankratochvil.net> <20101108163544.GB2933@adacore.com>
Yes, I don't like the idea of lowercas'ing everything at
read-in:
In Free Pascal, despite the fact that pascal is case insensitive
at source level, uses internal functions
that are lowercase as opposed to all source declared function
which are uppercased.
If we unconditionally lowercase everything, we would
possibly not be able anymore to specifically target those internal
functions.
A while ago, I proposed a patch that changed the
used a second copy of the pascal name
http://sourceware.org/ml/gdb-patches/2010-04/msg00967.html
But you didn't like that proposition ...
I didn't reply to the last message in this thread,
but I now think that your proposal of using a specific
syntax (gdb) print <My_variable>
to avoid case conversion, would not work
for info command, which was one of the
reasons of that patch.
Pierre Muller
Pascal language maintainer
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé?: lundi 8 novembre 2010 17:36
> À?: Jan Kratochvil
> Cc?: gdb-patches@sourceware.org
> Objet?: Re: [patch 2/2] iFort compat.: case insensitive symbols (PR
> 11313)
>
> > Therefore GDB will now lowercase any case insensitive symbol names on
> > their read-in from DWARF.
>
> 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.
>
> --
> Joel