This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: substitute-path problem
> It turns out find_and_open_source does plenty of other things wrong too
> with dirname == NULL. I saw it try to open "$cdir/scratch" (literally)
> and also "/home/drow/scratch". Not sure if that's really on purpose...
> but the latter and a handy symlink solved my immediate problem :-)
Neat :-). I wonder sometimes if it's possible to cover all cases.
There are so many (or perhaps my immediate short-term memory is not
what it should be).
> BTW, if you have a chance to improve related things: help set
> substitute-path was very unhelpful. It doesn't say what the arguments
> should be.
Oh, I see you've tried that command too :-). I'll see if I can come
up with something. I need to refresh my memory about this, I hope
the documentation is a little better.
--
Joel