This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]