From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12275 invoked by alias); 30 May 2009 02:08:15 -0000 Received: (qmail 12266 invoked by uid 22791); 30 May 2009 02:08:14 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 30 May 2009 02:08:08 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4U25gqH001074; Fri, 29 May 2009 22:05:42 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4U25dDn029686; Fri, 29 May 2009 22:05:39 -0400 Received: from opsy.redhat.com (vpn-13-4.rdu.redhat.com [10.11.13.4]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4U25cLv023401; Fri, 29 May 2009 22:05:38 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id E5C633786D0; Fri, 29 May 2009 20:05:37 -0600 (MDT) To: Paul Pluzhnikov Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [patch] Eliminate quadratic slow-down on number of solibs (part 2). References: <8ac60eac0905051749p3b5d14d9q8903b9de8e18137f@mail.gmail.com> <20090512082530.GD7584@adacore.com> <8ac60eac0905121353i4aae7110sebb34bec1de0d6d8@mail.gmail.com> <20090513092709.GB7292@adacore.com> <8ac60eac0905131111v7a73a628o5e6dfee5969119d3@mail.gmail.com> <20090514081402.GF7292@adacore.com> <8ac60eac0905141045q93bfc3fo2b22981f3b1d4db1@mail.gmail.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Sat, 30 May 2009 02:08:00 -0000 In-Reply-To: <8ac60eac0905141045q93bfc3fo2b22981f3b1d4db1@mail.gmail.com> (Paul Pluzhnikov's message of "Thu\, 14 May 2009 10\:45\:26 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-05/txt/msg00643.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: Paul> The problem is that breakpoint_re_set does a bunch of unnecessary Paul> work, even when it knows which solib it should be dealing with. What happens if we change this? I'm wondering about something like updating only the pending breakpoints when we read a new objfile for an existing inferior. Would this break something? If not, wouldn't it also fix your situation? Tom