This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: gdb follows symlinks when looking for debuginfo


On Wed, Jan 23, Daniel Jacobowitz wrote:

> On Wed, Jan 23, 2008 at 07:04:28PM +0100, Olaf Hering wrote:
> > For 3 yast libs (the first 3 libs to load), the path is wrong.
> 
> Are these the only ones symlinked?  I bet this:
> 
> > 2953  open("/usr/lib/YaST2/plugin/libpy2wfm.so.2", O_RDONLY) = 7
> 
> is a symlink to /mounts/instsys, and this:

The YaST2 directory is a symlink:
/usr/lib/YaST2 -> /mounts/instsys/usr/lib/YaST2

> > 2953  open("/lib/libexpat.so.1", O_RDONLY) = 3
> 
> is not.

/lib/libexpat.so.1 -> libexpat.so.1.5.2 -> /mounts/instsys/lib/libexpat.so.1.5.2

I will create a tmpfs bind mount to store the debuginfo in
/mounts/instsys/usr/lib/debug. This will work for all libs, except the
ones in /usr/lib/YaST2/plugin/



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