]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Check -fvar-tracking via ada_simple_compile
authorTom Tromey <tromey@adacore.com>
Wed, 12 Feb 2025 17:51:33 +0000 (10:51 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 4 Mar 2025 14:42:53 +0000 (07:42 -0700)
commite0386dee309ec8b169b5d146c0be3a6d516b1d03
tree288c3b373943491d21c17db207678410ab6aea59
parent6a509dd70f0c4c124147eac4b58e15e94b34e5fd
Check -fvar-tracking via ada_simple_compile

A couple of Ada tests check whether the C compiler supports
-fvar-tracking.  However, this doesn't really work when using
gnat-llvm, because that will invoke clang under the hood.  This patch
arranges to check gnatmake instead, which is more robust even when
toolchains are mix-and-matched.
gdb/testsuite/gdb.ada/array_return.exp
gdb/testsuite/gdb.ada/finish-large.exp
gdb/testsuite/lib/ada.exp