From: Andrew Burgess Date: Thu, 13 Mar 2025 18:41:42 +0000 (+0000) Subject: gdb/testsuite: fix undefined variable in gdb.ada/scalar_storage.exp X-Git-Tag: binutils-2_45~1192 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acc71ddb5b8245c54379bb99d849206e8d9f4e3e;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite: fix undefined variable in gdb.ada/scalar_storage.exp Commit: commit be382ece165eefa3e65f61bfb6b2aa2ee95dd6b4 Date: Wed Feb 12 09:35:26 2025 -0700 Check for compiler support in scalar_storage.exp Introduced an undefined variable use in gdb.ada/scalar_storage.exp, fixed by this commit. --- diff --git a/gdb/testsuite/gdb.ada/scalar_storage.exp b/gdb/testsuite/gdb.ada/scalar_storage.exp index 47de6e912f7..16a184fc867 100644 --- a/gdb/testsuite/gdb.ada/scalar_storage.exp +++ b/gdb/testsuite/gdb.ada/scalar_storage.exp @@ -32,7 +32,7 @@ if {$output != ""} { unsupported "scalar storage order not supported" } else { # Otherwise issue the fail. - gdb_compile_test $srcfile $result + gdb_compile_test $srcfile $output } # Either way we're not running this test. return