]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: fix undefined variable in gdb.ada/scalar_storage.exp
authorAndrew Burgess <aburgess@redhat.com>
Thu, 13 Mar 2025 18:41:42 +0000 (18:41 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 13 Mar 2025 18:41:42 +0000 (18:41 +0000)
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

index 47de6e912f78266cb3f04eb00db9650306f60382..16a184fc867bda3f1b55148bdbb092c53a774059 100644 (file)
@@ -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