From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9978 invoked by alias); 17 Dec 2009 20:28:53 -0000 Received: (qmail 9970 invoked by uid 22791); 17 Dec 2009 20:28:53 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Dec 2009 20:28:47 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 2214E10B95; Thu, 17 Dec 2009 20:28:45 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id F3AF510968; Thu, 17 Dec 2009 20:28:44 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NLMxn-0003Cv-Td; Thu, 17 Dec 2009 15:28:43 -0500 Date: Thu, 17 Dec 2009 20:28:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Keith Seitz , gdb-patches@sourceware.org Subject: Re: [RFA 2/4] dwarf2_physname Message-ID: <20091217202843.GA11961@caradoc.them.org> Mail-Followup-To: Tom Tromey , Keith Seitz , gdb-patches@sourceware.org References: <4B0707E7.5010308@uglyboxes.com> <20091120220927.GA9589@caradoc.them.org> <4B1EAD5C.6060708@redhat.com> <4B2692EE.5090807@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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-12/txt/msg00239.txt.bz2 On Thu, Dec 17, 2009 at 01:19:49PM -0700, Tom Tromey wrote: > Keith> As you can see, --readnow (and by extrapolation "info func" and > Keith> "info type") take an enormous performance hit. > > I am not concerned about this. I don't think -readnow is actually used > -- I can't imagine why anyone would want to use it. And, on a big > program, an unrestricted "info func" or "info type" is probably just a > mistake, like hitting enter too soon. Is there a way out if you do that? Does QUIT work? Also, does print read all symtabs? I'm not happy with introducing this slowdown. I'd like to at least see a profile first - of some smaller example! But I guess you're right that -readnow is not useful; maybe I should just let go... I thought I did -readnow profiling on my previous patches in this area without introducing such a big slowdown, but I don't know that for a fact. -- Daniel Jacobowitz CodeSourcery