[patch] Fix separate-debug with non-unique section names (PR 11409)

Tom Tromey tromey@redhat.com
Wed Mar 24 20:37:00 GMT 2010


>>>>> "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



More information about the Gdb-patches mailing list