[patch] Add printing of .gdb_index section to readelf

Mark Wielaard mjw at redhat.com
Thu Apr 21 07:39:55 UTC 2011


On Wed, 2011-04-20 at 12:01 -0600, Tom Tromey wrote:
> Mark> IMHO the current documentation is fine, it should just be moved
> Mark> to a more easily discoverable location.
> 
> Tom> Ok.  I will give it a shot.
> 
> It is in gdb.texinfo now.

Thanks.
http://sourceware.org/gdb/current/onlinedocs/gdb/Index-Section-Format.html
I hope that resolves Roland's doubts about the usefulness of
parsing/outputting this section with eu-readelf.

It was already useful BTW. We found out gdb was outputting bad/redundant
CU indexes by inspecting the output produced by eu-readelf. Which Tom
already fixed.
http://sourceware.org/ml/gdb-patches/2011-04/msg00224.html

Cheers,

Mark



More information about the elfutils-devel mailing list