From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32141 invoked by alias); 9 Sep 2009 15:04:51 -0000 Received: (qmail 32028 invoked by uid 22791); 9 Sep 2009 15:04:49 -0000 X-SWARE-Spam-Status: No, hits=-2.5 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, 09 Sep 2009 15:04:39 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 925352BAB37; Wed, 9 Sep 2009 11:04:37 -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 VsdiTZWpDVQj; Wed, 9 Sep 2009 11:04:37 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4D9802BAAD0; Wed, 9 Sep 2009 11:04:37 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id CC276F589B; Wed, 9 Sep 2009 08:04:29 -0700 (PDT) Date: Wed, 09 Sep 2009 15:04:00 -0000 From: Joel Brobecker To: Tristan Gingold Cc: gdb-patches ml Subject: Re: [patch] Speed up find_pc_section Message-ID: <20090909150429.GA20694@adacore.com> References: <8ac60eac0908201340k6b759eb5o9bb73c8f473d8785@mail.gmail.com> <200908211130.n7LBUCJc011108@d12av02.megacenter.de.ibm.com> <8ac60eac0908231548x135edf2doa04fa59a49455bcd@mail.gmail.com> <8ac60eac0908260020l4200cf84v2686a76b5858d13@mail.gmail.com> <20090909055824.GB11738@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-09/txt/msg00248.txt.bz2 > What is the correct way to load just the debugging info ? These > object files are loaded using 'symbol_file_add_from_bfd' and I thought > it was the only way. I am not sure yet; I don't even know if there is a way. How do we do it in case of .gnu_debug_link? symbol_file_add_from_bfd might be the only way right now, but it does cause GDB to load too much, right? (symbol table, sections, etc). (I was wondering out loud more than anything) -- Joel