Re: gdb_realpath: dealing with ./ and ../

Doug Evans
2008-01-04T22:23:13Z

On Jan 4, 2008 1:47 PM, Daniel Jacobowitz <drow@false.org> wrote:
> On Fri, Jan 04, 2008 at 01:39:51PM -0800, Doug Evans wrote:
> > The use of #line in the testcases in the appended patch is
> > questionable, but as a data point the testcases fail without the patch
> > and pass with the patch. These versions of the testcases have been
> > amended to use substitute-path.
>
> This happens during symbol reading, right? That means substitute-path
> has to be set before GDB loads any files; another reason why I don't
> think it is appropriate to use it while building symtabs.

Not to mention requiring getting the right value for substitute-path
being a bit sadistic ...

> I'll look at the rest of this thread later.

Thanks.