summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-09-28 16:37:19 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-09-28 10:44:50 +0200
commitecad76061f6edff5db67ad05e6514dff6cd6efc7 (patch)
tree1fee41b3d18c05afb1bf4aa11b29f6061901ba6f /tcl
parent45e5d1d90acaff8cf57f694e70ec41ece9bddfcd (diff)
downloadopenocd+libswd-ecad76061f6edff5db67ad05e6514dff6cd6efc7.tar.gz
openocd+libswd-ecad76061f6edff5db67ad05e6514dff6cd6efc7.tar.bz2
openocd+libswd-ecad76061f6edff5db67ad05e6514dff6cd6efc7.tar.xz
openocd+libswd-ecad76061f6edff5db67ad05e6514dff6cd6efc7.zip
TCL scripts: fix ocd_mem2array/mem2array
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>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/mem_helper.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/mem_helper.tcl b/tcl/mem_helper.tcl
index d8114908..a3d92cb8 100644
--- a/tcl/mem_helper.tcl
+++ b/tcl/mem_helper.tcl
@@ -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)
}