This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] Use our builtin type when evaluating conditional expressions
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 17 Mar 2009 16:12:31 -0400
- Subject: Re: [commit/Ada] Use our builtin type when evaluating conditional expressions
- References: <20090313012134.GA11284@adacore.com> <m3tz5rlxry.fsf@fleche.redhat.com>
> I'm curious whether this will be a problem for any language defining
> bool_type_symbol. If so, perhaps a language-neutral fix could be
> found. If not, what is it that makes this specific to Ada?
In most language, the lookup stops at the first match. In Ada,
we have to continue the lookup over all units, in case we have
homonyms. This is why we have treated this as an Ada-specific issue.
--
Joel