summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-01 14:36:13 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-01 14:36:13 +0000
commit82eda37fe39e6c101212a0918efb0d209b6000af (patch)
treec5f6ae4c68e7e6059fe5f1754961940067892d5d /src/server
parent63e9c3e577d2b2c99d6f7dc1cb8a6d0bd99b244a (diff)
downloadopenocd_libswd-82eda37fe39e6c101212a0918efb0d209b6000af.tar.gz
openocd_libswd-82eda37fe39e6c101212a0918efb0d209b6000af.tar.bz2
openocd_libswd-82eda37fe39e6c101212a0918efb0d209b6000af.tar.xz
openocd_libswd-82eda37fe39e6c101212a0918efb0d209b6000af.zip
log_remove_callback
git-svn-id: svn://svn.berlios.de/openocd/trunk@412 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 9994b93b..9558aef9 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -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);