This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Recent changes in dwarf_getlocation
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 21 Nov 2009 17:08:29 -0800
- Subject: Re: Recent changes in dwarf_getlocation
Sorry, that was a stupid bug. It should be fixed in commit 888381b.
Apparently we never tested dwarf_getlocation after that change.
dwarf_getlocation_addr didn't have the same bug, and that's the only thing
systemtap uses, so we managed not to notice that I had completely broken
dwarf_getlocation. If you want to work with the broken -ldw before the
next elfutils release, you can just use dwarf_getlocation_addr in place of
dwarf_getlocation, and the PC value you pass won't actually matter.
Thanks,
Roland