From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20105 invoked by alias); 12 Sep 2011 16:05:05 -0000 Received: (qmail 20074 invoked by uid 22791); 12 Sep 2011 16:05:03 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SARE_SUB_IMPROVE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Sep 2011 16:04:44 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8CG4enO016995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Sep 2011 12:04:41 -0400 Received: from host1.jankratochvil.net (ovpn-116-38.ams2.redhat.com [10.36.116.38]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8CG4cDt025845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Sep 2011 12:04:39 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p8CG4bIG017506; Mon, 12 Sep 2011 18:04:37 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p8CG4aql017505; Mon, 12 Sep 2011 18:04:36 +0200 Date: Mon, 12 Sep 2011 16:44:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org, Daniel Jacobowitz Subject: Re: [RFA] Improve performance with lots of shared libraries Message-ID: <20110912160436.GA16320@host1.jankratochvil.net> References: <20110909193239.GA23130@host1.jankratochvil.net> <201109121317.40222.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201109121317.40222.pedro@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00199.txt.bz2 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. Thanks, Jan