From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13712 invoked by alias); 11 Sep 2009 16:23:18 -0000 Received: (qmail 13702 invoked by uid 22791); 11 Sep 2009 16:23:16 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Sep 2009 16:23:12 +0000 Received: from wpaz17.hot.corp.google.com (wpaz17.hot.corp.google.com [172.24.198.81]) by smtp-out.google.com with ESMTP id n8BGNANW031952 for ; Fri, 11 Sep 2009 09:23:10 -0700 Received: from an-out-0708.google.com (anac38.prod.google.com [10.100.54.38]) by wpaz17.hot.corp.google.com with ESMTP id n8BGN77I015629 for ; Fri, 11 Sep 2009 09:23:07 -0700 Received: by an-out-0708.google.com with SMTP id c38so436012ana.37 for ; Fri, 11 Sep 2009 09:23:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.193.25 with SMTP id v25mr3323350anp.132.1252686187348; Fri, 11 Sep 2009 09:23:07 -0700 (PDT) In-Reply-To: <7A7AAF2F-5291-47CE-B48B-D0DEA401DF59@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> <8ac60eac0909101036r101263e7qd11c1a69f13008f1@mail.gmail.com> <8ac60eac0909110133q73435471od9b7b45b875a3838@mail.gmail.com> <7A7AAF2F-5291-47CE-B48B-D0DEA401DF59@adacore.com> Date: Fri, 11 Sep 2009 16:23:00 -0000 Message-ID: <8ac60eac0909110923v7acd0b96v9d6bf63bbfec331d@mail.gmail.com> Subject: Re: [patch] Speed up find_pc_section From: Paul Pluzhnikov To: Tristan Gingold Cc: Joel Brobecker , Ulrich Weigand , Ulrich Weigand , gdb-patches ml , Tom Tromey , Jan Kratochvil Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true 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/msg00323.txt.bz2 On Fri, Sep 11, 2009 at 1:39 AM, Tristan Gingold wrote: >> It sounds to me as if you'd want to pick up just the debug bits from >> *.o, without turning them into full-blown objfiles. > > Right, but why not doing this also for separate debuginfo ? I can't think of a reason, though the patch to do so might get large. Looks like the separate debuginfo support was added here: 2003-01-23 Alexander Larsson Jim Blandy Add support for executables whose debug info has been separated out into a separate file, leaving only a link behind. * objfiles.h (struct objfile): New fields: separate_debug_objfile and separate_debug_objfile_backlink. Perhaps Jim could comment on the merits of creating a separate objfile for the debuginfo file. Thanks, -- Paul Pluzhnikov