From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6222 invoked by alias); 15 Nov 2011 14:23:02 -0000 Received: (qmail 6204 invoked by uid 22791); 15 Nov 2011 14:23:00 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Nov 2011 14:22:45 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 2926F2BB0B2; Tue, 15 Nov 2011 09:22:44 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id D2fH2az2EeFb; Tue, 15 Nov 2011 09:22:44 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D88AF2BB050; Tue, 15 Nov 2011 09:22:43 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id A88C4145615; Tue, 15 Nov 2011 09:22:42 -0500 (EST) Date: Tue, 15 Nov 2011 14:23:00 -0000 From: Joel Brobecker To: Doug Evans Cc: Eli Zaretskii , Tom Tromey , gdb-patches Subject: Re: [RFA, doc RFA] Avoid calling gdb_realpath if basenames are different Message-ID: <20111115142242.GH5390@adacore.com> References: <20111106063053.B56F6246194@ruffy.mtv.corp.google.com> <8362irgi5w.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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-11/txt/msg00381.txt.bz2 > Ok to check in? > > 2011-11-14 Doug Evans > > * NEWS: Mention new parameter basenames-may-differ. > * dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if > ! basenames_may_differ. > * psymtab.c (lookup_partial_symtab): Ditto. > * symtab.c (lookup_symtab): Ditto. > (basenames_may_differ): New global. > (_initialize_symtab): New parameter basenames-may-differ. > * symtab.h (basenames_may_differ): Declare. Looks good to me. -- Joel