diff options
author | Tom Tromey <tromey@adacore.com> | 2022-09-22 13:10:55 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-10-17 08:01:39 -0600 |
commit | dd05fc7071a6517de13975fcddca861547351266 (patch) | |
tree | 74c9271226de482efbeec87d5f9d774d8fbfd646 /gdb/python | |
parent | 5fea97943259a2bd997f92ffa66116b5c0d4eaab (diff) | |
download | binutils-dd05fc7071a6517de13975fcddca861547351266.zip binutils-dd05fc7071a6517de13975fcddca861547351266.tar.gz binutils-dd05fc7071a6517de13975fcddca861547351266.tar.bz2 |
Change .gdb_index de-duplication implementation
While investigating PR symtab/29179, I found that one Ada test failed
because, although a certain symbol was present in the index, with the
new DWARF reader it pointed to a different CU than was chosen by
earlier versions of gdb.
This patch changes how symbol de-duplication is done, deferring the
process until the entire symbol table has been constructed. This way,
it's possible to always choose the lower-numbered CU among duplicates,
which is how gdb (implicitly) previously worked.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29179
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions