From 4a5dc0988ac91d1b5e63a28688edc2c6e890c179 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Wed, 10 Oct 2012 17:35:39 +0100 Subject: [PATCH] Revert "gdb_server : 'R' command replied by OK" This reverts commit 1e7e59445287c3389b52903a7cacdb5635248f32. For some reason the above commit added a reply to the restart command - this is not required as per the gdb docs. Newer versions of gdb (7.0 and above) will complain about this reply. Change-Id: Ieeae3dcf44d798a91dfc6f7348da982c2ce1be31 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/910 Tested-by: jenkins Reviewed-by: Joel Bodenmann --- src/server/gdb_server.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 047a9d098..0a8babe20 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -2195,7 +2195,6 @@ static int gdb_input_inner(struct connection *connection) gdb_con->attached = true; /* info rtos parts */ gdb_thread_packet(connection, packet, packet_size); - gdb_put_packet(connection, "OK", 2); break; case 'j':