From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20286 invoked by alias); 16 Apr 2002 13:06:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20261 invoked from network); 16 Apr 2002 13:06:31 -0000 Received: from unknown (HELO www.dberlin.org) (151.204.248.236) by sources.redhat.com with SMTP; 16 Apr 2002 13:06:31 -0000 Received: by www.dberlin.org (Postfix, from userid 501) id 5C84C1049F69; Tue, 16 Apr 2002 09:06:30 -0400 (EDT) Subject: Re: .n suffixes for function names in stabs debug info (GCC 3.1-based compiler) From: Daniel Berlin To: Daniel Jacobowitz Cc: Joel Brobecker , gdb-patches@sources.redhat.com In-Reply-To: <20020412103435.A24938@nevyn.them.org> References: <20020411181942.H29472@act-europe.fr> <20020411150444.A14251@nevyn.them.org> <20020412104307.C16134@act-europe.fr> <20020412103435.A24938@nevyn.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 16 Apr 2002 06:06:00 -0000 Message-Id: <1018962390.14863.12.camel@dberlin.org> Mime-Version: 1.0 X-SW-Source: 2002-04/txt/msg00551.txt.bz2 > > Jim, that raises one question. How are we going to support searching > for a name in all scopes, a la `info func'? It seems that it might be > prohibitively more expensive than it is currently... I'm not so sure it would be all that more expensive, but if it was, we could just throw all names into a global ternary search tree, and use that for searches against all scopes. For the example of "info func main", you just walk the tree to main, and print out all children from there.