This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

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


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