From acc71ddb5b8245c54379bb99d849206e8d9f4e3e Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 13 Mar 2025 18:41:42 +0000 Subject: [PATCH] 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. --- gdb/testsuite/gdb.ada/scalar_storage.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3