openocd/src/helper
Zachary T Welch 89fa493a3b remove unknown handler
Updates command registration to provide top-level handlers for all
commands, rather than falling back onto the 'unknown' command. Instead,
that same handler is registered for placeholders, providing the same
functionality under the root verb command name instead.  This permits
users to implement their own 'unknown' function, and it resolves some
mind-bending breakage related to function object lookup while recursing.

Changes 'ocd_bounce' to call 'ocd_command' and 'ocd_help' from the
wrapper directly, rather than bouncing through their wrappers. This
prevents endless recursion caused by the above changes, whereby the
'command' wrapper's type check would blow the stack to hell and gone.
2009-11-28 13:00:39 -08:00
..
bin2char.c bin2char: for win32 set stdin/stdout to binary mode 2009-10-30 11:59:57 +00:00
binarybuffer.c rename CEIL as DIV_ROUND_UP 2009-11-16 09:58:11 -08:00
binarybuffer.h binarybuffer: regression fix 2009-11-16 14:50:07 -08:00
command.c remove unknown handler 2009-11-28 13:00:39 -08:00
command.h add jim_handler to command_registration 2009-11-24 21:37:37 -08:00
configuration.c embedded: reduce stack usage 2009-11-22 13:38:42 +01:00
configuration.h improve constness of open_file_from_path 2009-11-16 15:47:08 -08:00
fileio.c fileio: improve API types 2009-11-16 15:47:09 -08:00
fileio.h fileio: improve API types 2009-11-16 15:47:09 -08:00
ioutil.c add jim_handler to command_registration 2009-11-24 21:37:37 -08:00
jim-eventloop.c Sync with official Jim Tcl repository. 2009-10-19 15:16:42 +02:00
jim-eventloop.h Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
jim.c Sync with official Jim Tcl repository. 2009-10-19 15:16:42 +02:00
jim.h Sync with official Jim Tcl repository. 2009-10-19 15:16:42 +02:00
log.c support OPENOCD_DEBUG_LEVEL environment setting 2009-11-25 10:29:06 -08:00
log.h log: improve initialization 2009-11-25 10:29:06 -08:00
Makefile.am split startup.tcl file across modules 2009-11-18 07:21:42 -08:00
membuf.c Switch to strotk() grr.... 2009-06-27 16:44:35 +00:00
membuf.h Add missing copyright header and fix @page direction in membuf.h. 2009-07-01 19:55:39 +00:00
options.c support for scripts in $HOME/.openocd 2009-11-24 08:57:02 +01:00
replacements.c safer conversion to HANDLER on MinGW-W64 2009-10-17 22:18:38 -07:00
replacements.h src/helper: wrap and clean headers. 2009-11-09 09:44:33 -08:00
startup.tcl remove unknown handler 2009-11-28 13:00:39 -08:00
system.h remove hacks no longer required to build OpenOCD w/eCos 2009-06-05 06:43:09 +00:00
time_support.c time_support: improve use of types 2009-11-11 05:40:48 -08:00
time_support.h time_support: improve use of types 2009-11-11 05:40:48 -08:00
types.h "types.h" doxygen fix 2009-11-16 10:42:01 -08:00