log_remove_callback

git-svn-id: svn://svn.berlios.de/openocd/trunk@412 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2008-03-01 14:36:13 +00:00
parent 63e9c3e577
commit 82eda37fe3
1 changed files with 1 additions and 0 deletions

View File

@ -1463,6 +1463,7 @@ int gdb_query_packet(connection_t *connection, target_t *target, char *packet, i
log_add_callback(gdb_log_callback, connection);
target_call_timer_callbacks();
command_run_line(cmd_ctx, cmd);
log_remove_callback(gdb_log_callback, connection);
free(cmd);
}
gdb_put_packet(connection, "OK", 2);