startup.tcl: prepare for jimtcl 0.81 'expr' syntax change
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 19 Mar 2021 13:13:07 +0000 (14:13 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 8 May 2021 08:48:36 +0000 (09:48 +0100)
commit82b6a41117fa99e760681d9f31163e7b68357e71
tree43ddee6fbd76471f5f07e7edb55ecdd1a5246970
parent223b79ebe21d53a21c85289349232fe7b8dca564
startup.tcl: 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'.

Modify the script startup.tcl compiled-in OpenOCD binary to comply
with the new jimtcl.

Change-Id: I520dcafacadaa289a815035f93f250447ca66ea0
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6158
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/jtag/startup.tcl
src/target/startup.tcl