From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6688 invoked by alias); 17 Mar 2009 20:12:48 -0000 Received: (qmail 6679 invoked by uid 22791); 17 Mar 2009 20:12:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 20:12:34 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8D5B02BABE0; Tue, 17 Mar 2009 16:12:32 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ni72GVwFH0sJ; Tue, 17 Mar 2009 16:12:32 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 71D1A2BABA6; Tue, 17 Mar 2009 16:12:32 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id A5652F5CFA; Tue, 17 Mar 2009 13:12:31 -0700 (PDT) Date: Tue, 17 Mar 2009 20:13:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [commit/Ada] Use our builtin type when evaluating conditional expressions Message-ID: <20090317201231.GF31979@adacore.com> References: <20090313012134.GA11284@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00330.txt.bz2 > 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