This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Use substitute-path for filename portion too
> Date: Thu, 7 Feb 2008 10:27:54 -0800
> From: Joel Brobecker <brobecker@adacore.com>
>
> > > 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.