This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix separate-debug with non-unique section names (PR 11409)
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> complain that the two files do not match: 7=.gnu.version 5=.dynstr
This seems to undermine the assumption that sections in the .debug file
are in the same order as in the main file.
Jan> Not sure how this algorithm could be improved to cope with it.
Can we stably sort the sections by name, using the initial index as a
secondary key?
Tom