From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30441 invoked by alias); 8 Feb 2008 15:02:00 -0000 Received: (qmail 30432 invoked by uid 22791); 8 Feb 2008 15:02:00 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Feb 2008 15:01:33 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-250-85.inter.net.il [83.130.250.85]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KDV44390 (AUTH halo1); Fri, 8 Feb 2008 17:01:07 +0200 (IST) Date: Fri, 08 Feb 2008 15:02:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb-patches@sourceware.org, dje@google.com In-reply-to: <20080207182754.GC3907@adacore.com> (message from Joel Brobecker on Thu, 7 Feb 2008 10:27:54 -0800) Subject: Re: [rfc] Use substitute-path for filename portion too Reply-to: Eli Zaretskii References: <20080207174645.GA19452@caradoc.them.org> <20080207175658.GB3907@adacore.com> <20080207181346.GA21484@caradoc.them.org> <20080207182754.GC3907@adacore.com> X-IsSubscribed: yes 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: 2008-02/txt/msg00151.txt.bz2 > Date: Thu, 7 Feb 2008 10:27:54 -0800 > From: Joel Brobecker > > > > Do we want to restrict this to filenames that are absolute paths? > > > Imagine the filename was codesourcery/bar/bar.h and the rewrite was > > > s/codesourcery/adacore/, do we want to attempt the rewrite then? > > > I suppose we should wait to see a real example of such a situation > > > before trying to support it... > > > > Are such rules supported? I couldn't work out from the manual > > what FROM and TO had to be. > > Yes, the documentation is not completely clear on this. Patches to make it more clear are welcome.