]> git.sur5r.net Git - openocd/commitdiff
log_remove_callback
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 1 Mar 2008 14:36:13 +0000 (14:36 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 1 Mar 2008 14:36:13 +0000 (14:36 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@412 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/server/gdb_server.c

index 9994b93b070c1bb23a6dc8919ee5b43b5498b870..9558aef9484662c3cb9c37c22bc9315271b937ef 100644 (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);