From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1120 invoked by alias); 14 Sep 2011 09:20:59 -0000 Received: (qmail 1111 invoked by uid 22791); 14 Sep 2011 09:20:59 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SARE_SUB_IMPROVE,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from gbenson.demon.co.uk (HELO gbenson.demon.co.uk) (80.177.220.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Sep 2011 09:20:42 +0000 Date: Wed, 14 Sep 2011 09:28:00 -0000 From: Gary Benson To: Jan Kratochvil Cc: Pedro Alves , gdb-patches@sourceware.org, Daniel Jacobowitz Subject: Re: [RFA] Improve performance with lots of shared libraries Message-ID: <20110914092037.GA15919@redhat.com> Mail-Followup-To: Jan Kratochvil , Pedro Alves , gdb-patches@sourceware.org, Daniel Jacobowitz References: <20110909193239.GA23130@host1.jankratochvil.net> <201109121317.40222.pedro@codesourcery.com> <20110912160436.GA16320@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110912160436.GA16320@host1.jankratochvil.net> 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: 2011-09/txt/msg00247.txt.bz2 Jan Kratochvil wrote: > On Mon, 12 Sep 2011 14:17:39 +0200, Pedro Alves wrote: > > Only one, when Tom's work is done, make breakpoints have a "final" > > property (meaning, "stop adding locations for this breakpoint") > > for user breakpoints, and automatically mark some internal > > breakpoints we know can't have more than one location with that > > flag. Breakpoints on addresses ("b *FOO") would have the "final" > > property implicitly as well. If all the breakpoints in the table > > are "final", then we don't need to track shared library loads. > > BTW I agree with this design. Me too. I will leave this patch on ice until Tom's work is done, or at least until Tom is back and can comment. Thank you all for your comments and ideas. Cheers, Gary -- http://gbenson.net/