Re: libdw errors for DW_FORM_GNU_strp_alt attributes

2014-04-08 Thread Florian Weimer
On 04/07/2014 06:29 PM, Josh Stone wrote: On 04/07/2014 08:55 AM, Florian Weimer wrote: Thanks for the explanation. I find it kind of surprising that libdw goes behind my back and opens random files based on paths extracted from the data I supply. I would have expected that from libdwfl, not l

Re: libdw errors for DW_FORM_GNU_strp_alt attributes

2014-04-07 Thread Josh Stone
On 04/07/2014 08:55 AM, Florian Weimer wrote: > Thanks for the explanation. I find it kind of surprising that libdw > goes behind my back and opens random files based on paths extracted from > the data I supply. I would have expected that from libdwfl, not libdw. Yes, in fact this was in Mark'

Re: libdw errors for DW_FORM_GNU_strp_alt attributes

2014-04-07 Thread Florian Weimer
On 04/07/2014 04:37 PM, Mark Wielaard wrote: How can I obtain these attributes? If elfutils was configure with --enable-dwz then it should automagically find the alternative debug (dwz) file. And it does for me on f20 with elfutils-libs-0.158-1.fc20.x86_64: ./report-cu /usr/lib/debug/usr/bin/

Re: libdw errors for DW_FORM_GNU_strp_alt attributes

2014-04-07 Thread Mark Wielaard
On Fri, 2014-04-04 at 13:47 +0200, Florian Weimer wrote: > If I run the attached test program on the file > /usr/lib/debug/usr/bin/bsdiff.debug from the Fedora package > bsdiff-debuginfo-4.3-12.fc20.x86_64, I get the following output: > > Compilation unit at offset 0, tag 17: >name (format 0

libdw errors for DW_FORM_GNU_strp_alt attributes

2014-04-04 Thread Florian Weimer
If I run the attached test program on the file /usr/lib/debug/usr/bin/bsdiff.debug from the Fedora package bsdiff-debuginfo-4.3-12.fc20.x86_64, I get the following output: Compilation unit at offset 0, tag 17: name (format 0xe): "bsdiff.c" comp_dir (format 0x1f21) present with error 36: no