]> git.sur5r.net Git - openocd/commitdiff
TCL scripts: fix ocd_mem2array/mem2array
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 28 Sep 2010 08:37:19 +0000 (16:37 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 28 Sep 2010 08:44:50 +0000 (10:44 +0200)
In previous patch, I have introduced again the symbol
"ocd_mem2array", now replaced by "mem2array".
Fix the error.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/mem_helper.tcl

index d8114908e8b9a73c9af2a8397f13570f47db1a7f..a3d92cb82deee70cfe551cda334ca12b543ad108 100644 (file)
@@ -3,7 +3,7 @@
 # mrw: "memory read word", returns value of $reg
 proc mrw {reg} {
        set value ""
-       ocd_mem2array value 32 $reg 1
+       mem2array value 32 $reg 1
        return $value(0)
 }