From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20503 invoked by alias); 13 May 2010 21:45:20 -0000 Received: (qmail 20489 invoked by uid 22791); 13 May 2010 21:45:19 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 May 2010 21:45:15 +0000 Received: from kpbe19.cbf.corp.google.com (kpbe19.cbf.corp.google.com [172.25.105.83]) by smtp-out.google.com with ESMTP id o4DLjDgT020418 for ; Thu, 13 May 2010 14:45:13 -0700 Received: from ywh14 (ywh14.prod.google.com [10.192.8.14]) by kpbe19.cbf.corp.google.com with ESMTP id o4DLjBLK004942 for ; Thu, 13 May 2010 14:45:12 -0700 Received: by ywh14 with SMTP id 14so810579ywh.25 for ; Thu, 13 May 2010 14:45:11 -0700 (PDT) Received: by 10.101.5.36 with SMTP id h36mr108500ani.69.1273787111310; Thu, 13 May 2010 14:45:11 -0700 (PDT) Received: from dhcp-172-29-42-133.tor.corp.google.com ([204.50.149.209]) by mx.google.com with ESMTPS id a10sm1863624anj.19.2010.05.13.14.45.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 May 2010 14:45:09 -0700 (PDT) Message-ID: <4BEC72E3.4000809@google.com> Date: Thu, 13 May 2010 21:45:00 -0000 From: Diego Novillo User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Wolfgang kaifler CC: gcc@gcc.gnu.org Subject: Re: Tree Browser References: <20100504191147.253270@gmx.net> In-Reply-To: <20100504191147.253270@gmx.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00242.txt.bz2 On 5/4/10 15:11 , Wolfgang kaifler wrote: > (gdb) p browse_tree (current_function_decl) > No symbol "browse_tree" in current context. > (gdb) > > What i'm doing wrong? Any ideas? The tree browser code has bitrotted to the point that I think it should be removed, unfortunately. It's a great candidate to be re-implemented as a plugin. I know this does not help you much. Sorry. In this case, it is likely that since there are no calls to browse_tree anywhere in the code, the linker is removing it. Are you building cc1 with -O0? Diego.