]> git.sur5r.net Git - openocd/commit
use CALL_COMMAND_HANDLER instead of direct calls
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 06:23:07 +0000 (22:23 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 18:51:46 +0000 (10:51 -0800)
commit5b6df55a1e5e4c0f531bc336691bc7c9a6a0df87
tree50cd2c3812b1b585301e66fa4cd1fcc84e357539
parent1df5cc18f51366b823bccdaec4ffa1ee3fac2447
use CALL_COMMAND_HANDLER instead of direct calls

By using CALL_COMMAND_HANDLER, parameters can be reordered, added, or
even removed in inherited signatures, without requiring revisiting
all of the various call sites.
src/flash/flash.c
src/flash/nand.c
src/jtag/tcl.c
src/pld/pld.c
src/server/gdb_server.c
src/server/tcl_server.c
src/server/telnet_server.c
src/target/arm11.c
src/target/etm.c
src/target/target.c