From: Olaf Hering <olh@suse.de>
To: gdb@sourceware.org
Subject: gdb follows symlinks when looking for debuginfo
Date: Wed, 23 Jan 2008 16:16:00 -0000 [thread overview]
Message-ID: <20080123161537.GA25123@suse.de> (raw)
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.
next reply other threads:[~2008-01-23 16:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-23 16:16 Olaf Hering [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080123161537.GA25123@suse.de \
--to=olh@suse.de \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox