"gdb/testsuite/lib/gdbserver-support.exp",
"gdb/testsuite/lib/gdb-utils.exp",
"gdb/testsuite/lib/gen-perf-test.exp",
-"gdb/testsuite/lib/jit-elf-helpers.exp",
"gdb/testsuite/lib/mi-support.exp",
"gdb/testsuite/lib/objc.exp",
"gdb/testsuite/lib/pascal.exp",
# do symbol renaming by munging on ELF symbol table, and that
# wouldn't work for .debug sections. Also, output for "info
# function" changes when debug info is present.
- set addr [format 0x%x [expr $jit_load_address + $jit_load_increment * [expr $i-1]]]
+ set addr [format 0x%x [expr {$jit_load_address + $jit_load_increment * ($i - 1)}]]
# Use "text_segment=..." to ask the linker to relocate everything in the
# compiled shared library against a fixed base address. Combined