On 11/7/17 8:53 AM, Alexander Kanavin wrote: > On 11/06/2017 06:54 PM, Mark Hatle wrote: >> You would need to interpret the dwarf symbols and find all of the referenced >> files. I can certainly be done with the libelf (libdwarf?), but I don't >> know if >> it can be done with binutils or elfutils directly. They may not have the >> necessary translation to be able to assembly the pieces. >> >> (A lot of the filenames are listed related to a directory.. and the entries >> are >> stored in different places and have to be assembled to get a similar output >> to >> what debugedit gave us.) >> >> Writing a small standalone tool to give us this information may be very >> useful >> to us though -- and would let us break the 'rpm' dependency for deb/ipkg >> builds.. (probably) > > 'readelf -wL <binary>' looks promising. I think we can simply process > its output from package.class (yes, a bit brittle, but easier than > writing a separate tool).
Yes, it looks like this has everything needed to identify the matching sources. It will definitely have to be processed a bit, but it's all there. (Only concern is the processing may take significantly longer then debugedit used to.. but we won't know until we try.) --Mark > Alex > -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core