]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Accept unnamed array in gdb.ada/limited-length.exp
authorTom Tromey <tromey@adacore.com>
Tue, 2 Jul 2024 14:32:36 +0000 (08:32 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 2 Jul 2024 17:15:31 +0000 (11:15 -0600)
commit4401c3c098d0c16cd4c7234099e2e3e4a593e173
tree50f3d62ec9a716385e7618d97044c60473b73480
parentd59d4e2f3a86671a4ce7ef89a53b259a820e9af4
Accept unnamed array in gdb.ada/limited-length.exp

Some compiler changes I'm working on cause a regression in
gdb.ada/limited-length.exp -- with the changes, the array type is
nameless and so is not mentioned in the max-value-size error message.

Because the array type is nameless in the source code, this seems like
an improvement to me, and so this patch changes the test to accept
either form.
gdb/testsuite/gdb.ada/limited-length.exp