This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313)


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]