gdb/gdbserver:
authorYao Qi <yao@codesourcery.com>
Wed, 13 Jun 2012 02:35:01 +0000 (02:35 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 13 Jun 2012 02:35:01 +0000 (02:35 +0000)
* server.c (start_inferior): Remove duplicated writes to fields
'last_resume_kind' and 'last_status' of 'current_inferior'.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index 588568344d9ff6460ec3be4001530ee84613aa55..683aade6cc39a7301239f83d71a0cfa800f2e61a 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-13  Yao Qi  <yao@codesourcery.com>
+
+       * server.c (start_inferior): Remove duplicated writes to fields
+       'last_resume_kind' and 'last_status' of 'current_inferior'.
+
 2012-06-12  Yao Qi  <yao@codesourcery.com>
            Pedro Alves  <palves@redhat.com>
 
index 96aa54b8fa2d0dab27e9470a9de146eb3afa27d6..69b54d982c3887f709eca848faddf3d60a52838a 100644 (file)
@@ -322,8 +322,6 @@ start_inferior (char **argv)
        }
       while (last_status.value.sig != GDB_SIGNAL_TRAP);
 
-      current_inferior->last_resume_kind = resume_stop;
-      current_inferior->last_status = last_status;
       return signal_pid;
     }