diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-05-30 04:23:49 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2018-05-30 04:23:49 -0700 |
commit | 65e5116229c7f7a4bfc60ad103e40a6dbb0c0312 (patch) | |
tree | faf1570bd8d19c4dbebeffb33cc0ddc965baaab9 | |
parent | 7d693c6983f81ccc3f337a6ddd0f7c73263e3cac (diff) | |
download | riscv-openocd-65e5116229c7f7a4bfc60ad103e40a6dbb0c0312.zip riscv-openocd-65e5116229c7f7a4bfc60ad103e40a6dbb0c0312.tar.gz riscv-openocd-65e5116229c7f7a4bfc60ad103e40a6dbb0c0312.tar.bz2 |
Revert "Print allt he GDB messages back"
This reverts commit 4fc0e7ac0d9eabaa7d834d8e5e7d578f29ce96d7.
-rw-r--r-- | src/server/gdb_server.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 39ed682..0701eb8 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -480,11 +480,6 @@ int gdb_put_packet(struct connection *connection, char *buffer, int len) int retval = gdb_put_packet_inner(connection, buffer, len); gdb_con->busy = false; - char *msg = malloc(len + 1); - memset(msg, '\0', len+1); - strncpy(msg, buffer, len); - LOG_DEBUG("msg: %s", msg); - /* we sent some data, reset timer for keep alive messages */ kept_alive(); |