]> git.sur5r.net Git - openocd/commitdiff
Revert "gdb_server : 'R' command replied by OK"
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 10 Oct 2012 16:35:39 +0000 (17:35 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 24 Oct 2012 12:01:22 +0000 (12:01 +0000)
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 <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/910
Tested-by: jenkins
Reviewed-by: Joel Bodenmann <joel@unormal.org>
src/server/gdb_server.c

index 047a9d098f421c99659ba876a9c333f90c3058ac..0a8babe2049673b625a869151938c23254158bf9 100644 (file)
@@ -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':