diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-19 08:38:17 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-20 14:52:56 -0800 |
commit | 9e9633c6b98cc9243ae78cd12ab657d041eaa73e (patch) | |
tree | d9ca32ad190555f1dd853c60044dff107087aef6 /tcl/target/feroceon.cfg | |
parent | 73c6e3bb18326050acc8908b561443a7b37549bb (diff) | |
download | openocd_libswd-9e9633c6b98cc9243ae78cd12ab657d041eaa73e.tar.gz openocd_libswd-9e9633c6b98cc9243ae78cd12ab657d041eaa73e.tar.bz2 openocd_libswd-9e9633c6b98cc9243ae78cd12ab657d041eaa73e.tar.xz openocd_libswd-9e9633c6b98cc9243ae78cd12ab657d041eaa73e.zip |
refactor command registration
Refactors the command registration to use helpers to simplify the code.
The unregistration routines were made more flexible by allowing them
to operate on a single command, such that one can remove all of a
commands children in one step (perhaps before adding back a 'config'
subcommand that allows getting the others back). Eliminates a bit
of duplicated code and adds full API documentation for these routines.
Diffstat (limited to 'tcl/target/feroceon.cfg')
0 files changed, 0 insertions, 0 deletions