openocd: revert workarounds for 'expr' syntax change
commit95603fae18f81eebdafc5b318e70f9e2cdefab9e
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 18 Dec 2022 18:15:57 +0000 (18 19:15 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 15 Jan 2023 14:46:57 +0000 (15 14:46 +0000)
tree60351b952ace8cd71fc5aa14a79fd803842ccf6d
parentda34e36cdb542eac9370957b10853184f870e495
openocd: revert workarounds for 'expr' syntax change

With OpenOCD v0.12.0 released, drop the workarounds for 'expr'
syntax change by reverting:
- commit 320043c054dc ("openocd: fix for polling during "expr"
  computation");
- commit c7eaaf620488 ("openocd: prepare for jimtcl 0.81 'expr'
  syntax change").

Replace the call to target_call_timer_callbacks_now() with call
to target_call_timer_callbacks().

Change-Id: Iae5afc50e3f688e11176a52648efc9a6577a9a11
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7405
Tested-by: jenkins
src/helper/command.c
src/openocd.c