aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/volatile.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/volatile.exp')
-rw-r--r--gdb/testsuite/gdb.base/volatile.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/volatile.exp b/gdb/testsuite/gdb.base/volatile.exp
index 827c28f..ade9d66 100644
--- a/gdb/testsuite/gdb.base/volatile.exp
+++ b/gdb/testsuite/gdb.base/volatile.exp
@@ -42,7 +42,7 @@ if { [prepare_for_testing volatile.exp volatile constvars.c] } {
# Create and source the file that provides information about the compiler
# used to compile the test case.
-if [get_compiler_info not-used] {
+if [get_compiler_info] {
return -1;
}