aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2025-03-13 18:41:42 +0000
committerAndrew Burgess <aburgess@redhat.com>2025-03-13 18:41:42 +0000
commitacc71ddb5b8245c54379bb99d849206e8d9f4e3e (patch)
treecfa3da0c03c8474b85f21fae6b10b37a4631e3e3 /gdb/testsuite
parent11b1c5b52e772a19724ee9b02794a30f3de032e2 (diff)
downloadbinutils-acc71ddb5b8245c54379bb99d849206e8d9f4e3e.zip
binutils-acc71ddb5b8245c54379bb99d849206e8d9f4e3e.tar.gz
binutils-acc71ddb5b8245c54379bb99d849206e8d9f4e3e.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.ada/scalar_storage.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/scalar_storage.exp b/gdb/testsuite/gdb.ada/scalar_storage.exp
index 47de6e9..16a184f 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