Re: Finding source files - No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux