From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15542 invoked by alias); 15 Jun 2009 22:20:33 -0000 Received: (qmail 15533 invoked by uid 22791); 15 Jun 2009 22:20:33 -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; Mon, 15 Jun 2009 22:20:28 +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 n5FMKNEf014813; Mon, 15 Jun 2009 18:20:23 -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 n5FMKMLK002236; Mon, 15 Jun 2009 18:20:22 -0400 Received: from opsy.redhat.com (vpn-13-64.rdu.redhat.com [10.11.13.64]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5FMKL4M029381; Mon, 15 Jun 2009 18:20:21 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id B29F93784BE; Mon, 15 Jun 2009 16:20:20 -0600 (MDT) To: Paul Pluzhnikov Cc: gdb-patches@sourceware.org Subject: Re: [patch] Eliminate quadratic slow-down on number of solibs (take 2). References: <8ac60eac0906081750i1faddef3pe35f4983bf5ee400@mail.gmail.com> From: Tom Tromey Reply-To: Tom Tromey Date: Mon, 15 Jun 2009 22:20:00 -0000 In-Reply-To: <8ac60eac0906081750i1faddef3pe35f4983bf5ee400@mail.gmail.com> (Paul Pluzhnikov's message of "Mon\, 8 Jun 2009 17\:50\:56 -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-06/txt/msg00399.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: Thanks for the ping. Tom> These are all just forwarding calls, basically overloads. Tom> You could add a new overload just for this purpose. Paul> But they may call themselves recursively. Paul> I've added a bit to OBJF_* flags instead. I think this mixes two things: flags to the call, and flags affecting the resulting objfile. I'd be happier with a new argument, or changing the name and use of the 'from_tty' argument -- e.g., adding a new enum and expanding this argument to be flags-for-the-call. Either of these is quite a bit bigger, but mostly mechanical. Tom