From: Joel Brobecker <brobecker@adacore.com>
To: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] pascal: Add lowercase copy of symbol name
Date: Thu, 29 Apr 2010 22:32:00 -0000 [thread overview]
Message-ID: <20100429223157.GA2768@adacore.com> (raw)
In-Reply-To: <002101cae7e9$e7229540$b567bfc0$@muller@ics-cnrs.unistra.fr>
> Here is a step in that direction: adding a new pascal_specific field
> for general_symbol_info structure, fill it with a lowercase copy of
> the symbol name and use that lowercase copy for searches if
> case_sensitivityy is off.
>
> I did not yet really decide exactly how I am going to use this
> inside that pascal expression parser. One idea would be to first
> try an exact match, and if that fails, try again forcing
> case_sensitivity to off temporarily.
>
> Comments?
I can't really say that I am fond of this approach - at all. We already
store the linkage name as well as the natural name. Can't you use that
in the language-specific lookup routines to make the search case
insensitive?
There is also something I'm confused about: If Pascal is *not* case-
sensitive, why make the debugger optionally case-sensitive? Why not
always have a case-insensitive interpreter? You aluded that there were
some reasons...
--
Joel
next prev parent reply other threads:[~2010-04-29 22:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 22:18 Pierre Muller
2010-04-29 22:32 ` Joel Brobecker [this message]
2010-04-29 22:54 ` Pierre Muller
2010-04-29 23:09 ` Joel Brobecker
2010-04-30 7:27 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100429223157.GA2768@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=pierre.muller@ics-cnrs.unistra.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox