From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29210 invoked by alias); 12 Sep 2008 04:18:49 -0000 Received: (qmail 29197 invoked by uid 22791); 12 Sep 2008 04:18:48 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 Sep 2008 04:18:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 75EB62A96BC; Fri, 12 Sep 2008 00:18:04 -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 3-YjgfQGWRMX; Fri, 12 Sep 2008 00:18:04 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4496D2A96BB; Fri, 12 Sep 2008 00:18:03 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 91C7BE7ACD; Thu, 11 Sep 2008 21:18:00 -0700 (PDT) Date: Fri, 12 Sep 2008 04:18:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms Message-ID: <20080912041800.GA3714@adacore.com> References: <20080910201959.GC10133@adacore.com> <20080910203437.GA26162@caradoc.them.org> <20080911175422.GS12222@adacore.com> <20080911183730.GA17809@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i 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: 2008-09/txt/msg00250.txt.bz2 > Joel> It looks like roughly a 4% increase in startup time. Not sure whether > Joel> that's considered a large increase or not - I just think that it's not > Joel> noticeable. None of our users have reported issues with startup time. > > How much memory do you have on your machine? Are you using a 32- or > 64-bit machine? And how many objfiles are made with this test > program? Phew, all these technical questions :). I'm using a 32bit machine (Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz) with 2GB of memory. I'm running a 2.6.19.3 Linux kernel. Because I cannot run the test program (all these large programs that we got from our customers require a very precise environement to start), I can only time "gdb EXE". As a result, I think we only end up creating one object file for that executable. > I am just curious to know what differs between my tests and yours. In > my case, I start the system OpenOffice writer and then attach to it. Yes, that's a little different, because the shared libraries have been mapped, and so debugging info for these are loaded in as well. > FWIW I don't think Joel's patch will negatively affect my current > approach. Just curious, I think I either forgot a previous discussion or missed it entirely. What approach are you going to take? -- Joel