From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11426 invoked by alias); 11 Sep 2009 07:44:28 -0000 Received: (qmail 11418 invoked by uid 22791); 11 Sep 2009 07:44:27 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Sep 2009 07:44:23 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 3380B290258; Fri, 11 Sep 2009 09:44:21 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z2W2pmwRWWOK; Fri, 11 Sep 2009 09:44:01 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 827F9290217; Fri, 11 Sep 2009 09:44:01 +0200 (CEST) Subject: Re: [patch] Speed up find_pc_section Mime-Version: 1.0 (Apple Message framework v1075.2) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Tristan Gingold In-Reply-To: <20090909150429.GA20694@adacore.com> Date: Fri, 11 Sep 2009 07:44:00 -0000 Cc: gdb-patches ml Content-Transfer-Encoding: 7bit Message-Id: <13723C94-E073-4896-97C8-5B394F8B96C8@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> <20090909150429.GA20694@adacore.com> To: Joel Brobecker X-IsSubscribed: yes 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/msg00304.txt.bz2 On Sep 9, 2009, at 5:04 PM, Joel Brobecker wrote: >> 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? I think we almost do the same. But .gnu_debug_link allows only one file. > 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) I plan to rework on this to fix severals issues. Tristan.