Fix array_char_idx.exp
authorTom Tromey <tromey@adacore.com>
Fri, 15 May 2020 16:25:56 +0000 (10:25 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 20 May 2020 13:21:49 +0000 (07:21 -0600)
commitb4757f2e45f292c9f0e48e8dbdc003e5dbfca5ed
tree517c07dcd744779509f6f643cf7610c41f130947
parent250106a76acffac0067c6618dd784f2260b56ade
Fix array_char_idx.exp

Newer versions of GCC can statically initialize an array in the
array_char_idx.exp test case.  This leads to a spurious failure.  This
patch fixes the problem by having the test case recognize both
possible results.

I'm checking this in.

gdb/testsuite/ChangeLog
2020-05-20  Tom Tromey  <tromey@adacore.com>

* gdb.ada/array_char_idx.exp: Recognize initialized array.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/array_char_idx.exp