From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20699 invoked by alias); 24 Oct 2012 20:20:31 -0000 Received: (qmail 20666 invoked by uid 22791); 24 Oct 2012 20:20:29 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,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; Wed, 24 Oct 2012 20:20:24 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9OKKM5Q020424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Oct 2012 16:20:23 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9OKKL7u030642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 24 Oct 2012 16:20:22 -0400 From: Tom Tromey To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [commit/Ada] use lbasename when testing if file is part of Ada runtime. References: <1351102680-24854-1-git-send-email-brobecker@adacore.com> Date: Wed, 24 Oct 2012 20:20:00 -0000 In-Reply-To: <1351102680-24854-1-git-send-email-brobecker@adacore.com> (Joel Brobecker's message of "Wed, 24 Oct 2012 14:18:00 -0400") Message-ID: <87625z8vwa.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (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: 2012-10/txt/msg00482.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> We use a list of regular expressions to match a symtab filenames Joel> against the names of the files in the Ada runtime. These regular Joel> expressions do assume that the filename is a basename, however. Joel> So make sure to evaluate these regular expressions against Joel> the symtab's filename. I see some that are absolute, e.g.: "/usr/shlib/libpthread\\.so", Tom