|
GDB (xrefs)
|
Functions | |
| get_pub_info (filename, readelf_option) | |
| get_gdb_index (filename) | |
| CheckSets (list0, list1, name0, name1) | |
| find_executables () | |
| main (argv) | |
Variables | |
| str | __author__ = "saugustine@google.com (Sterling Augustine)" |
| OBJCOPY = None | |
| READELF = None | |
| GDB = None | |
test_pubnames_and_indexes.py Test that the gdb_index produced by gold is identical to the gdb_index produced by gdb itself. Further check that the pubnames and pubtypes produced by gcc are identical to those that gdb produces. Finally, check that all strings are canonicalized identically.
| test_pubnames_and_indexes.CheckSets | ( | list0, | |
| list1, | |||
| name0, | |||
| name1 | |||
| ) |
Report any setwise differences between the two lists
Definition at line 97 of file test_pubnames_and_indexes.py.
Referenced by main().
| test_pubnames_and_indexes.find_executables | ( | ) |
Find the copies of readelf, objcopy and gdb to use.
Definition at line 126 of file test_pubnames_and_indexes.py.
Referenced by main().
| test_pubnames_and_indexes.get_gdb_index | ( | filename | ) |
Use readelf to dump the gdb index and collect the types and names
Definition at line 77 of file test_pubnames_and_indexes.py.
Referenced by main().
| test_pubnames_and_indexes.get_pub_info | ( | filename, | |
| readelf_option | |||
| ) |
Parse and return all the pubnames or pubtypes produced by readelf with the given option.
Definition at line 53 of file test_pubnames_and_indexes.py.
Referenced by main().
| test_pubnames_and_indexes.main | ( | argv | ) |
The main subprogram.
Definition at line 152 of file test_pubnames_and_indexes.py.
References CheckSets(), find_executables(), get_gdb_index(), get_pub_info(), and main().
|
private |
Definition at line 42 of file test_pubnames_and_indexes.py.
| test_pubnames_and_indexes.GDB = None |
Definition at line 50 of file test_pubnames_and_indexes.py.
| test_pubnames_and_indexes.OBJCOPY = None |
Definition at line 48 of file test_pubnames_and_indexes.py.
| test_pubnames_and_indexes.READELF = None |
Definition at line 49 of file test_pubnames_and_indexes.py.