tcl: [2/3] prepare for jimtcl 0.81 'expr' syntax change
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2021 15:37:04 +0000 (17:37 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 8 May 2021 08:48:53 +0000 (09:48 +0100)
commitf855fdcf0d95ff9ba18a83f9a97d5368844d4f2c
treee5ac959bd0879d76f0a0007c7bf59d278dafbfb4
parentf5657aa76e795e4ed5b13a9f5df943181a123e49
tcl: [2/3] prepare for jimtcl 0.81 'expr' syntax change

Jimtcl commit 1843b79a03dd ("expr: TIP 526, only support a single
arg") drops the support for multi-argument syntax for the TCL
command 'expr'.

Enclose within double quote the argument of 'expr' when there is
the need to concatenate strings.

Change-Id: Ic0ea990ed37337a7e6c3a99670583685b570b8b1
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6160
Tested-by: jenkins
tcl/chip/atmel/at91/rtt.tcl
tcl/chip/atmel/at91/usarts.tcl
tcl/fpga/xilinx-xadc.cfg
tcl/target/u8500.cfg