From: Yao Qi Date: Wed, 13 Jun 2012 02:35:01 +0000 (+0000) Subject: gdb/gdbserver: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f8f6aed0e3ce7b646e4737cf1cad33f8fa0d22a;p=binutils-gdb.git gdb/gdbserver: * server.c (start_inferior): Remove duplicated writes to fields 'last_resume_kind' and 'last_status' of 'current_inferior'. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 588568344d9..683aade6cc3 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-06-13 Yao Qi + + * server.c (start_inferior): Remove duplicated writes to fields + 'last_resume_kind' and 'last_status' of 'current_inferior'. + 2012-06-12 Yao Qi Pedro Alves diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 96aa54b8fa2..69b54d982c3 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -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; }