diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/compare-sections.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/compare-sections.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/compare-sections.exp b/gdb/testsuite/gdb.base/compare-sections.exp index 981fa7b..b95149e 100644 --- a/gdb/testsuite/gdb.base/compare-sections.exp +++ b/gdb/testsuite/gdb.base/compare-sections.exp @@ -136,7 +136,7 @@ with_test_prefix "read-only" { } # Come up with different value. - set patch [expr 255 - $orig] + set patch [expr {255 - $orig}] # Write PATCH to memory. set written -1 |