From 2f8f6aed0e3ce7b646e4737cf1cad33f8fa0d22a Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 13 Jun 2012 02:35:01 +0000 Subject: [PATCH] gdb/gdbserver: * server.c (start_inferior): Remove duplicated writes to fields 'last_resume_kind' and 'last_status' of 'current_inferior'. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/server.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) 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; } -- 2.30.2