This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
eu-addr2line only searches by build-id?
- From: Kurt Roeckx <kurt at roeckx dot be>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sun, 06 Jun 2010 21:04:27 +0200
- Subject: eu-addr2line only searches by build-id?
Hi,
When trying to use eu-addr2line when the debug symbols have been
put into a separate file, it's not trying to look for that file
at all the locations I expect it to look at.
The strace shows only this:
open("/usr/lib/debug/.build-id/99/26bcc0fa6bd3b5657bb701ebf6159e34846965.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
While I was expecting it to look at
/usr/lib/debug/$path/$gnu_debuglink too.
It's my understanding that this behaviour is the case for
searches by build-id. But I gave it the name of the executable,
so I was expecting it to search by path too.
(This works as expected with addr2line from binutils)
Kurt