summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-07 08:05:07 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-07 08:05:07 +0000
commitb31d83c6c7eb274144acc7c40ea4bf8424b6b1e0 (patch)
tree41223c22654dc036aaccc6e47b6f5a924707d2f5 /src/openocd.c
parentd6194d7356d15eaff0a8267779cbc5561a324bf8 (diff)
downloadopenocd+libswd-b31d83c6c7eb274144acc7c40ea4bf8424b6b1e0.tar.gz
openocd+libswd-b31d83c6c7eb274144acc7c40ea4bf8424b6b1e0.tar.bz2
openocd+libswd-b31d83c6c7eb274144acc7c40ea4bf8424b6b1e0.tar.xz
openocd+libswd-b31d83c6c7eb274144acc7c40ea4bf8424b6b1e0.zip
added pre/postlude fn's for when OpenOCD is sleeping.
git-svn-id: svn://svn.berlios.de/openocd/trunk@765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/openocd.c b/src/openocd.c
index ee00f19a..834b11d9 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -185,8 +185,6 @@ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **arg
return ERROR_OK;
}
-void lockBigLock();
-void unlockBigLock();
Jim_Interp *interp;
command_context_t *active_cmd_ctx;
@@ -445,8 +443,6 @@ static int Jim_Command_openocd_ignore(Jim_Interp *interp, int argc, Jim_Obj *con
int retval;
char *cmd = (char*)Jim_GetString(argv[1], NULL);
- lockBigLock();
-
Jim_Obj *tclOutput = Jim_NewStringObj(interp, "", 0);
if (startLoop)
@@ -465,7 +461,6 @@ static int Jim_Command_openocd_ignore(Jim_Interp *interp, int argc, Jim_Obj *con
log_remove_callback(tcl_output, tclOutput);
Jim_SetResult(interp, tclOutput);
- unlockBigLock();
return (ignore||(retval==ERROR_OK))?JIM_OK:JIM_ERR;
}