summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-08-11 17:24:55 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-08-11 17:24:55 +0200
commit8f779cf66bf459616b7dad88e871c2f4a7315371 (patch)
treeddd83179d52630a0c09d831eb3adc51166465985 /src
parentf1bd1274ee3491c1a98c1484408ce10215391190 (diff)
downloadopenocd+libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.tar.gz
openocd+libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.tar.bz2
openocd+libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.tar.xz
openocd+libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.zip
tcl: remove silly ocd_ prefix to array2mem and mem2array
ocd_ prefix is used internally in OpenOCD as a kludge more or less to deal with the two kinds of commands that OpenOCD has. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/target/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index d7607e3a..16caea5f 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -5296,7 +5296,7 @@ static const struct command_registration target_exec_command_handlers[] = {
.usage = "filename [offset [type]]",
},
{
- .name = "ocd_mem2array",
+ .name = "mem2array",
.mode = COMMAND_EXEC,
.jim_handler = jim_mem2array,
.help = "read 8/16/32 bit memory and return as a TCL array "
@@ -5304,7 +5304,7 @@ static const struct command_registration target_exec_command_handlers[] = {
.usage = "arrayname bitwidth address count",
},
{
- .name = "ocd_array2mem",
+ .name = "array2mem",
.mode = COMMAND_EXEC,
.jim_handler = jim_array2mem,
.help = "convert a TCL array to memory locations "