From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9729 invoked by alias); 21 Feb 2004 09:04:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9715 invoked from network); 21 Feb 2004 09:04:09 -0000 Received: from unknown (HELO necron.inter.net.il) (192.114.186.21) by sources.redhat.com with SMTP; 21 Feb 2004 09:04:09 -0000 Received: from zaretski ([80.230.152.8]) by necron.inter.net.il (MOS 3.4.4-GR) with ESMTP id ADM00014; Fri, 20 Feb 2004 23:01:33 GMT Date: Sat, 21 Feb 2004 09:04:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-Id: <2914-Sat21Feb2004110216+0200-eliz@elta.co.il> CC: drow@false.org, ezannoni@redhat.com, carlton@kealia.com, gdb@sources.redhat.com In-reply-to: <403655D4.1020102@gnu.org> (message from Andrew Cagney on Fri, 20 Feb 2004 13:45:40 -0500) Subject: Re: Huge slowdown since 6.0 Reply-to: Eli Zaretskii References: <20040218210927.GA16641@nevyn.them.org> <20040220050905.GA15209@nevyn.them.org> <16438.14300.323849.306261@localhost.redhat.com> <40363D78.9080708@gnu.org> <16438.18096.205403.553354@localhost.redhat.com> <40364CF2.5020704@gnu.org> <20040220182411.GA14238@nevyn.them.org> <403655D4.1020102@gnu.org> X-SW-Source: 2004-02/txt/msg00307.txt.bz2 > Date: Fri, 20 Feb 2004 13:45:40 -0500 > From: Andrew Cagney > > If we knew for instance that only 10% of users set breakpoints outside > of the main executible, then we'd also know that we were frustrating 90% > of users by making them sit around waiting for needless symbol table > reads :-( I think we can say we know this already. I'm quite sure that the number of users who set breakpoints outside their program's code is miniscule, much less than 10%. > On the other hand, if we knew that the first thing people did was: > (gdb) break > we'd have an entirely different problem. I think "break TAB" is very rare. But "info address", "info symbol", and their ilk might be much more popular. However, it is IMHO entirely reasonable to load the full symbol table when such commands are issued. I'd even print a message, something like Loading symbols for your_monster_proggy; this could take a while..."