hooks to enable experimentation with scripting language support. Reduces patch size, but has no effect on OpenOCD otherwise.

git-svn-id: svn://svn.berlios.de/openocd/trunk@733 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-06-27 06:58:45 +00:00
parent a78762e786
commit b754eac35a
3 changed files with 83 additions and 37 deletions

View File

@@ -154,6 +154,12 @@ void unlockBigLock()
{
}
/* Hook to add scripting language */
int jim_command(command_context_t *context, char *line)
{
LOG_ERROR("Syntax error");
return ERROR_COMMAND_SYNTAX_ERROR;
}
int main(int argc, char *argv[])
{