aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-06-13 02:35:01 +0000
committerYao Qi <yao@codesourcery.com>2012-06-13 02:35:01 +0000
commit2f8f6aed0e3ce7b646e4737cf1cad33f8fa0d22a (patch)
tree33929cef0bfb87dc8dbd9560bfea314c96b4c2bd
parent22cdfed9c121640d708fb537306d9b55fdde61e1 (diff)
downloadgdb-2f8f6aed0e3ce7b646e4737cf1cad33f8fa0d22a.zip
gdb-2f8f6aed0e3ce7b646e4737cf1cad33f8fa0d22a.tar.gz
gdb-2f8f6aed0e3ce7b646e4737cf1cad33f8fa0d22a.tar.bz2
gdb/gdbserver:
* server.c (start_inferior): Remove duplicated writes to fields 'last_resume_kind' and 'last_status' of 'current_inferior'.
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/server.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 5885683..683aade 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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>
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 96aa54b..69b54d9 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;
}