This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5090

-- gerrit

commit 312fd1fd72ee9ff44501593e891211be856bb4f8
Author: Antonio Borneo <[email protected]>
Date:   Thu Mar 28 12:22:25 2019 +0100

    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 <[email protected]>

diff --git a/tcl/target/psoc4.cfg b/tcl/target/psoc4.cfg
index eb51847..544e109 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 ""

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to