Bugs in debuginfo packages

Karel Klíč kklic at redhat.com
Mon Mar 28 14:55:35 UTC 2011


Mark Wielaard <mjw at redhat.com> writes:
> On Fri, 2011-03-18 at 21:00 +0100, Karel Klíč wrote:
>> eu-readelf -winfo/-wline output is huge, so it takes several days to
>> make one attampt to check whole rawhide repository. This slows
>> development a bit.
>
> eu-readelf does a lot more than you seem to need (you want to at least
> use --numeric-addresses, so it doesn't try to map all addresses it
> prints out to the associated symbol names).
>
> Attached is a little C program that just gets the associated source
> files and nothing else. It might help go through the whole repository
> quicker. It simply goes through all Compile Units, prints the comp_dir
> and name, and then everything from the associated files table.

Hi Mark,
thank you for the program, I'll use it to speed up the check.

I'm also going to verify how well .debug_info sections match the source
files included in debuginfo packages using `eu-readelf -winfo` data
(-wline checking would be too complicated for this script). I have
observed GDB displaying wrong source file lines when stepping through a
program several times, and I think such a check could discover some
issues.

Karel


More information about the devel mailing list