From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9965 invoked by alias); 25 Mar 2009 22:32:28 -0000 Received: (qmail 9955 invoked by uid 22791); 25 Mar 2009 22:32:28 -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; Wed, 25 Mar 2009 22:32:23 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4BE202BAC15; Wed, 25 Mar 2009 18:32:18 -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 rEU-OPEQNR4i; Wed, 25 Mar 2009 18:32:18 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 19A452BAAE7; Wed, 25 Mar 2009 18:32:18 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 54E025BD21; Wed, 25 Mar 2009 15:32:11 -0700 (PDT) Date: Wed, 25 Mar 2009 22:33:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: RFC: lazy partial symbol table reading Message-ID: <20090325223211.GH9472@adacore.com> References: 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/msg00572.txt.bz2 Hey Tom, > The basic idea is simple: don't read partial symbols until they are > needed. When they are needed, call require_partial_symbols to read > them. I think I need to discuss the principle of this patch internally with the other AdaCore GDB engineers, in particular with Paul Hilfinger. I think that this might impact Ada, because, when we do symbol lookups, we need to search all psymtabs. Paul knows a lot more about this than I do, so he should be able to evaluate the real impact a little better. I will look at it as well. -- Joel