This is an automated email from Gerrit. Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2121
-- gerrit commit b250bc0ce48a90db20ac0ad27bd99629a80374ba Author: Paul Fertser <[email protected]> Date: Mon Apr 28 14:34:47 2014 +0400 Update to the current Jim Tcl This is a post-release version but hopefully some fixes that went in are worth it; also the changes here make OpenOCD compatible with stock 0.75 version if a distro maintainer decides to use it. Change-Id: I7ad1814c7c4868198475cdca4750c3d0ee4f5f8b Signed-off-by: Paul Fertser <[email protected]> diff --git a/jimtcl b/jimtcl index 2c1eba9..799585f 160000 --- a/jimtcl +++ b/jimtcl @@ -1 +1 @@ -Subproject commit 2c1eba991e21a6f0b531fb0f83e21f9e6ee7c515 +Subproject commit 799585fa2e3f2705fe351b63b25978dc1c5a4bc4 diff --git a/src/helper/command.c b/src/helper/command.c index 21362a6..137ac7e 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -365,7 +365,7 @@ static int register_command_handler(struct command_context *cmd_ctx, LOG_DEBUG("registering '%s'...", ocd_name); - Jim_CmdProc func = c->handler ? &script_command : &command_unknown; + Jim_CmdProc *func = c->handler ? &script_command : &command_unknown; int retval = Jim_CreateCommand(interp, ocd_name, func, c, NULL); free(ocd_name); if (JIM_OK != retval) diff --git a/src/helper/command.h b/src/helper/command.h index 0f0edbb..0eda5b5 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -168,7 +168,7 @@ struct command { struct command *parent; struct command *children; command_handler_t handler; - Jim_CmdProc jim_handler; + Jim_CmdProc *jim_handler; void *jim_handler_data; enum command_mode mode; struct command *next; @@ -204,7 +204,7 @@ char *command_name(struct command *c, char delim); struct command_registration { const char *name; command_handler_t handler; - Jim_CmdProc jim_handler; + Jim_CmdProc *jim_handler; void *jim_handler_data; enum command_mode mode; const char *help; -- ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
