gdb_server : 'R' command replied by OK
authorMichel Jaouen <michel.jaouen@stericsson.com>
Tue, 19 Apr 2011 07:36:41 +0000 (09:36 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 28 Apr 2011 10:22:39 +0000 (12:22 +0200)
src/server/gdb_server.c

index aeb4e2e883b6a061b773e7608caf0ef8a04a7448..9c1d24529645bb0d96063bf8cb57b225f26984df 100644 (file)
@@ -2363,6 +2363,7 @@ static int gdb_input_inner(struct connection *connection)
                                        command_run_linef(connection->cmd_ctx,
                                                        "ocd_gdb_restart %s",
                                                        target_name(target));
+                                       gdb_put_packet(connection, "OK", 2);
                                        break;
 
                                case 'j':