This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] new substitute path when loading feature
- From: Daniel Jacobowitz <drow at false dot org>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 13 May 2008 14:11:31 -0400
- Subject: Re: [RFC] new substitute path when loading feature
- References: <g0clc2$9dt$1@ger.gmane.org>
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