]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix GNAT version check in gdb.ada
authorTom Tromey <tromey@adacore.com>
Wed, 11 Dec 2024 13:54:27 +0000 (06:54 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 12 Dec 2024 13:37:41 +0000 (06:37 -0700)
commit439334eba0dafe61a01b9b9404f0bbaa6e25c853
tree666a096e4d4e8b58757c5c5d8c64bbafbe24307a
parent196e49215b368edfaf6db81200d24bb99ebb5a02
Fix GNAT version check in gdb.ada

Commit 1411185a ("Introduce and use gnat_version_compare") changed the
Ada tests to use a new proc for version checking.  Unfortunately this
patch inadvertently reversed the sense of the test in
packed_array_assign.exp.

After fixing this, I went through that patch again and looked for
other problems.  I found one spot where the wrong syntax was used, and
some others where I believe the sense of the test was inverted.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32444
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/testsuite/gdb.ada/null_array.exp
gdb/testsuite/gdb.ada/packed_array_assign.exp
gdb/testsuite/gdb.ada/packed_record.exp
gdb/testsuite/gdb.ada/variant_record_packed_array.exp