From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28746 invoked by alias); 4 Oct 2011 19:46:40 -0000 Received: (qmail 28734 invoked by uid 22791); 4 Oct 2011 19:46:39 -0000 X-SWARE-Spam-Status: No, hits=-6.9 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; Tue, 04 Oct 2011 19:46:26 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p94JkLpu009167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Oct 2011 15:46:21 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p94JkKB3008619; Tue, 4 Oct 2011 15:46:20 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p94JkIih022260; Tue, 4 Oct 2011 15:46:18 -0400 From: Tom Tromey To: Jan Kratochvil Cc: Pedro Alves , gdb-patches@sourceware.org, Daniel Jacobowitz Subject: Re: [RFA] Improve performance with lots of shared libraries References: <20110909193239.GA23130@host1.jankratochvil.net> <201109121317.40222.pedro@codesourcery.com> <20110912160436.GA16320@host1.jankratochvil.net> <20110914092037.GA15919@redhat.com> Date: Tue, 04 Oct 2011 19:46:00 -0000 In-Reply-To: <20110914092037.GA15919@redhat.com> (Gary Benson's message of "Wed, 14 Sep 2011 10:20:37 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-10/txt/msg00114.txt.bz2 >>>>> "Gary" == Gary Benson writes: Pedro> Only one, when Tom's work is done, make breakpoints have a "final" Pedro> property (meaning, "stop adding locations for this breakpoint") Pedro> for user breakpoints, and automatically mark some internal Pedro> breakpoints we know can't have more than one location with that Pedro> flag. Breakpoints on addresses ("b *FOO") would have the "final" Pedro> property implicitly as well. If all the breakpoints in the table Pedro> are "final", then we don't need to track shared library loads. Jan> BTW I agree with this design. Gary> Me too. Gary> I will leave this patch on ice until Tom's work is done, or at least Gary> until Tom is back and can comment. I haven't read the patch yet, just this subthread. I also agree with this approach; in fact I think it is what we all agreed to in the long thread determining the new semantics. Tom