This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Script to compare pubnames, gdb index as produced by gold and gdb index as produced by gdb


On Thu, Apr 26, 2012 at 4:40 PM, Sterling Augustine
<saugustine@google.com> wrote:
> Enclosed is patch with a python script which takes a binary and
> performs a three-way comparison between the elements in:
>
> 1. The pubnames and pubtypes sections as generated by gcc
> 2. The .gdb_index section as generated by gold
> 3. The .gdb_index section as generated by gdb
>
> I have found it very useful in working on the fission project and I
> suspect anyone else who is working on gdb_index would also find it
> useful. I'm very open to moving it to a different location--is there
> no "contrib" directory?--or not checking it in at all.
>
> In a perfect world, this script would be included in the testsuite and
> run against a wide variety of programs, but the configury associated
> with determining whether the right versions of gdb, gold and gcc are
> available is beyond my ken.

There is/was a src/contrib directory, but setting aside a possibility
of separating gdb and binutils trees src/contrib would be shared by a
lot of packages.

Since we have a few outstanding requests for where to put similar things,
I propose creating src/gdb/contrib.

>
> Thanks,
>
> Sterling
>
>
> 012-04-26 ?Sterling Augustine ?<saugustine@google.com>
>
> ? ? ? ?* test_pubnames_and_indexes.py: New file.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]