add CMD_NAME macro for command handlers
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 06:29:36 +0000 (22:29 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 18:55:00 +0000 (10:55 -0800)
commita585bdf7269ce5c861c83ee3294ba1f074e9c877
tree0b50307192186d4516609e9043be1be1dd3ebc2d
parent5b6df55a1e5e4c0f531bc336691bc7c9a6a0df87
add CMD_NAME macro for command handlers

By introducing the CMD_NAME macro, this parameter may be integrated
as args[-1] in command.[ch], without touching any other call sites.
src/flash/flash.c
src/helper/command.h
src/jtag/tcl.c
src/target/arm720t.c
src/target/arm920t.c
src/target/arm926ejs.c
src/target/arm966e.c
src/target/cortex_m3.c
src/target/target.c
src/target/xscale.c