From: Antonio Borneo Date: Tue, 28 Sep 2010 08:37:19 +0000 (+0800) Subject: TCL scripts: fix ocd_mem2array/mem2array X-Git-Tag: v0.5.0-rc1~394 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=ecad76061f6edff5db67ad05e6514dff6cd6efc7 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 --- diff --git a/tcl/mem_helper.tcl b/tcl/mem_helper.tcl index d8114908e8..a3d92cb82d 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) }