aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/included.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/included.exp')
-rw-r--r--gdb/testsuite/gdb.base/included.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/included.exp b/gdb/testsuite/gdb.base/included.exp
index e5223c9..a125a27 100644
--- a/gdb/testsuite/gdb.base/included.exp
+++ b/gdb/testsuite/gdb.base/included.exp
@@ -26,7 +26,7 @@ gdb_test_no_output "set listsize 1"
gdb_test "list -q main" ".*"
get_debug_format
-set non_dwarf [expr ! [test_debug_format "DWARF \[0-9\]"]]
+set non_dwarf [expr {! [test_debug_format "DWARF \[0-9\]"]}]
# We should be able to find the source file containing the definition,
# even though it was an included header.