[commit] testsuite: change-loc.exp: Fix false random FAILs

Jan Kratochvil jan.kratochvil@redhat.com
Tue Apr 10 13:19:00 GMT 2012


On Mon, 09 Apr 2012 16:38:20 +0200, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> 
> Jan> for <MULTIPLE> breakpoint I do not think the testsuite should depend on the
> Jan> order of found locations.  Although maybe GDB could sort them?
> 
> I think it does sort them, but Keith changed the sorting order in his
> linespec patch.  This change was intentional, FWIW, as it makes the
> results more predictable for the user.

FSF GDB HEAD still randomly flips the order of the two locations, it is not
fully random, the order depends on some mysterious conditions,


Jan



More information about the Gdb-patches mailing list