From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3332 invoked by alias); 26 Nov 2003 21:33:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3317 invoked from network); 26 Nov 2003 21:33:48 -0000 Received: from unknown (HELO yosemite.airs.com) (209.128.65.135) by sources.redhat.com with SMTP; 26 Nov 2003 21:33:48 -0000 Received: (qmail 27062 invoked by uid 10); 26 Nov 2003 21:33:47 -0000 Received: (qmail 16761 invoked by uid 500); 26 Nov 2003 21:33:41 -0000 From: Ian Lance Taylor To: mec.gnu@mindspring.com (Michael Elizabeth Chastain) Cc: drow@mvista.com, gdb@sources.redhat.com Subject: Re: C++/Java regressions References: <20031126211736.D4E7F4B40B@berman.michael-chastain.com> Date: Wed, 26 Nov 2003 21:33:00 -0000 In-Reply-To: <20031126211736.D4E7F4B40B@berman.michael-chastain.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00268.txt.bz2 mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes: > Briefly, the call tree is: > > lookup_symbol_aux > current_language->la_lookup_symbol_nonlocal > lookup_symbol_file > lookup_symbol_static [1] > lookup_symbol_aux_block > lookup_symbol_global [2] > lookup_possible_namespace_symbol [3] > lookup_symbol_aux_symtabs [4] > lookup_symbol_aux_psymtabs > > You are probably getting a hit at [3]. > > Check the value of "block" in lookup_symbol_file. I bet that > you have block=0. That prevents [1] from finding a match in the current > static block. Yes, block == 0. Sounds you like have the right analysis. > I think the right fix is to pass a correct "block" to local_symbol_aux > so that [1] can do its job properly. I have no idea what this involves, myself. Ian