From: Antonio Borneo Date: Thu, 28 Mar 2019 11:22:25 +0000 (+0100) Subject: tcl/psoc4: remove "ocd_" prefixed commands X-Git-Tag: v0.11.0-rc1~672 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=3605cb96252efb4644924f1c1357a1ea122c6390;hp=83af3d992e45ccf011f80b7e786886784b0cf469;ds=sidebyside tcl/psoc4: remove "ocd_" prefixed commands The commands prefixed with "ocd_" are removed. Remove them from configuration files. Change-Id: Ib44627ee17a39f3d06b479507ab5a025073bf9a8 Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5090 Reviewed-by: Tomas Vanek Tested-by: jenkins --- diff --git a/tcl/target/psoc4.cfg b/tcl/target/psoc4.cfg index eb51847ce3..544e109873 100644 --- a/tcl/target/psoc4.cfg +++ b/tcl/target/psoc4.cfg @@ -179,7 +179,7 @@ proc ocd_process_reset_inner { MODE } { } # Check if PSoC CPU is stopped in system ROM - set pc [ocd_reg pc] + set pc [reg pc] regsub {pc[^:]*: } $pc "" pc if { $pc < 0x10000000 || $pc > 0x1000ffff } { set hint ""