tcl/psoc4: remove "ocd_" prefixed commands
[openocd.git] / tcl / target / psoc4.cfg
index eb51847..544e109 100644 (file)
@@ -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 ""