This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Pascal symbols and case sensitivity
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Joost van der Sluis <joost at cnoc dot nl>
- Cc: gdb at sourceware dot org
- Date: Mon, 19 Apr 2010 10:33:18 -0400
- Subject: Re: Pascal symbols and case sensitivity
- References: <1271680087.23666.52.camel@wsjoost.cnoc.lan>
> Is there anything against it to make the symbol-lookup really
> case-insensitive? That could by example be done by converting the symbol
> name in symbol_search_name (symtab.c) to lowercase when the
> case_sensitivity setting is off.
I think you have to be a little careful of not converting some of the
symbols were the "linkage name" is specifically specified. I don't know
if this is something that's actually possible with Pascal, but it is
something that Ada users sometimes do (Ada is also language insensitive).
Perhaps one possible suggestion is to adjust the pascal routines associated
to symbol lookup to DTRT. I have barely looked at the pascal support and
it was a long time ago, but Pierre Muller, I believe, knows more about it.
--
Joel