aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/dcache-line-read-error.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/dcache-line-read-error.exp')
-rw-r--r--gdb/testsuite/gdb.base/dcache-line-read-error.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/dcache-line-read-error.exp b/gdb/testsuite/gdb.base/dcache-line-read-error.exp
index bc8f47e..62d561c 100644
--- a/gdb/testsuite/gdb.base/dcache-line-read-error.exp
+++ b/gdb/testsuite/gdb.base/dcache-line-read-error.exp
@@ -21,7 +21,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile}] } {
return -1
}
-if ![runto breakpt] {
+if {![runto breakpt]} {
return -1
}
@@ -45,7 +45,7 @@ proc delete_mem {} {
# Make the dcache line size bigger than the pagesize.
set pagesize [get_integer_valueof "pg_size" -1]
-set linesize [expr $pagesize * 2]
+set linesize [expr {$pagesize * 2}]
gdb_test_no_output "set dcache line-size $linesize" \
"set dcache line size to twice the pagesize"