On Wed, Nov 25, 2009 at 1:51 AM, David Brownell <davi...@pacbell.net> wrote: > On Tuesday 24 November 2009, Zach Welch wrote: >> The following benefits can be expected from this work: >> - Command registration is much simpler and easier to read and update. >> - All registrations now get proper error checking. >> - Eliminates redundant calls to register command: smaller binaries. >> - Improves 'help' display and add new 'usage' command. >> - Changes all register_commands callbacks into command_registration *'s. > > Sounds good. There's still a disjunction between "Jim commands" > and the normal type ... are you thinking of smoothing that too?
Don't give Zach ideas about cleaning up Jim Tcl ;-) The normal commands are just a wafer thin wrapper inside a normal Jim Tcl command. The old style commands are typical commands for user interaction in telnet and jim tcl commands are more oriented towards being used from Jim, w.r.t. output and return values. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development