Adapt gdb.ada/pkd_arr_elem.exp to accept reordered components
authorJoel Brobecker <brobecker@adacore.com>
Mon, 11 Dec 2017 05:16:31 +0000 (00:16 -0500)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 11 Dec 2017 05:16:31 +0000 (00:16 -0500)
commita9c135fc7d0c005246849ff6b205fd5090248137
treefc2d3b80f220b8a0dde3266f02b6f92341c72b8d
parent75323ba0a7588fcd6c8505077719abd50cae71e3
Adapt gdb.ada/pkd_arr_elem.exp to accept reordered components

Recent versions of GNAT are capable of reordering record components
to make their access for efficient. This patch adapts this test to
accept both cases (reordered or not).

gdb/testsuite/ChangeLog:

        * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
        output with components being reordered.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/pkd_arr_elem.exp