This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Finding source files - No such file or directory
Andrew Haley writes:
Dmitriy Gorbenko writes:
>
> But no one hint to find /tmp/a directory.
>
> Could you tell me, how GDB knows about /tmp/a directory?
readelf --debug <program>
Look for the Directory Table entry.
Andrew.
I resolve the problem by myself - I make a great mistake: I forgot type
'make install' - the program uses some libraries, and that libraries
uses source files from /tmp/a directory.
Stupid mistake.
But thanks for `readelf` hint.