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]

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


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.

Thanks,

Sterling


012-04-26  Sterling Augustine  <saugustine@google.com>

	* test_pubnames_and_indexes.py: New file.

Attachment: test_pubnames.patch
Description: Binary data


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