This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Source directory trees not in build location
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Koning <pkoning at equallogic dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 28 Mar 2006 17:21:01 -0500
- Subject: Re: Source directory trees not in build location
- References: <17449.46602.392697.675583@gargle.gargle.HOWL>
On Tue, Mar 28, 2006 at 05:17:46PM -0500, Paul Koning wrote:
> I made a local patch to add a source path name rewriting rule. That
> allows a substring of the source path name to be replaced by some
> different substring. The current implementation is simplistic -- it
> allows exactly one substitution rule, and the matching is exact string
> match. It would be possible to allow multiple rules, and probably
> also fancier mechanisms like regexps. That wasn't necessary for our
> application.
>
> Is this of interest to the greater GDB?
Yes!
I've been wanting someone to do this for ages and ages.
--
Daniel Jacobowitz
CodeSourcery