Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb follows symlinks when looking for debuginfo
@ 2008-01-23 16:16 Olaf Hering
  2008-01-23 17:32 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Olaf Hering @ 2008-01-23 16:16 UTC (permalink / raw)
  To: gdb


Why does gdb follow symlinks when looking for debuginfo and executables?

The binaries in our installation images are symlinked into a
loop-mounted cramfs image, or to an extracted tree on a remote
filesystem.
The gdb binary itself is a symlink /usr/bin/gdb ->
/mounts/inst-sys/usr/bin/gdb. For some reason, gdb starts to look for
debuginfo in /mounts/inst-sys/usr/lib/debug instead of just
/usr/lib/debug. The same is true for the executable thats being
debugged.

How can this be turned off? I do not see a cmdline switch for that.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-24 13:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-23 16:16 gdb follows symlinks when looking for debuginfo Olaf Hering
2008-01-23 17:32 ` Daniel Jacobowitz
2008-01-23 18:04   ` Olaf Hering
2008-01-23 18:16     ` Daniel Jacobowitz
2008-01-24 13:38       ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox