From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28282 invoked by alias); 13 May 2008 18:11:56 -0000 Received: (qmail 28272 invoked by uid 22791); 13 May 2008 18:11:55 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 May 2008 18:11:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 187F580001; Tue, 13 May 2008 18:11:34 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C24D5982C4; Tue, 13 May 2008 18:11:32 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JvyyJ-0002Zz-T5; Tue, 13 May 2008 14:11:31 -0400 Date: Tue, 13 May 2008 19:00:00 -0000 From: Daniel Jacobowitz To: Aleksandar Ristovski Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] new substitute path when loading feature Message-ID: <20080513181131.GA9899@caradoc.them.org> Mail-Followup-To: Aleksandar Ristovski , gdb-patches@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-05) 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-05/txt/msg00399.txt.bz2 On Tue, May 13, 2008 at 02:06:57PM -0400, Aleksandar Ristovski wrote: > To properly translate the paths it is useful to be able to tell gdb > to translate such paths into new environment. Existing > "substitute-path" functionality seems like the most logical choice, > and the diff exploits this to add new feature - rewriting source > paths at readin time. Why is this feature useful? There shouldn't be anything that depends on the paths being changed at readin time. -- Daniel Jacobowitz CodeSourcery