]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Check gnatmake version in gnat_version_compare
authorTom Tromey <tromey@adacore.com>
Mon, 31 Mar 2025 17:53:53 +0000 (11:53 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 1 Apr 2025 13:11:48 +0000 (07:11 -0600)
commitb63e824775e8ebab501b2d66656ebefd4536e08b
treebeb79b7a2a49492709c802732c71a415bd3bcddb
parent71320db6509e0893607e9343b5af56a8c130a2ed
Check gnatmake version in gnat_version_compare

Tom de Vries pointed out that my earlier change to
gnat_version_compare made it actually test gcc's version -- not
gnat's.

This patch changes gnat_version_compare to examine gnatmake's version,
while preserving the nicer API.

Approved-By: Tom de Vries <tdevries@suse.de>
gdb/testsuite/lib/ada.exp