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: [commit/Ada] Use our builtin type when evaluating conditional expressions


> 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


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