aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-ranges.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-ranges.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
index a31b3ff..83abd2a 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
@@ -24,7 +24,7 @@ if {![dwarf2_support]} {
}
# The .c files use __attribute__.
-if [get_compiler_info unused] {
+if [get_compiler_info] {
return -1;
}
if !$gcc_compiled {