aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-09-18 01:59:59 +0000
committerYao Qi <yao@codesourcery.com>2013-09-18 01:59:59 +0000
commitee47b2f89d1b45727d1867e6b5b3c137bbcfe792 (patch)
treef62d4cba75e99a5782e65df05b6bd974625c6e7a /gdb/gdbserver
parent0f63d4db7502e3967e9a0d0c24e649ebdbf57653 (diff)
downloadgdb-ee47b2f89d1b45727d1867e6b5b3c137bbcfe792.zip
gdb-ee47b2f89d1b45727d1867e6b5b3c137bbcfe792.tar.gz
gdb-ee47b2f89d1b45727d1867e6b5b3c137bbcfe792.tar.bz2
gdb/gdbserver/
2013-09-18 Yao Qi <yao@codesourcery.com> PR server/15959 * server.c (start_inferior): Clear 'resume_info'. gdb/testsuite/ 2013-09-18 Yao Qi <yao@codesourcery.com> * gdb.server/wrapper.c: New. * gdb.server/wrapper.exp: New.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/server.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index b03722a..da57151 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-18 Yao Qi <yao@codesourcery.com>
+
+ PR server/15959
+ * server.c (start_inferior): Clear 'resume_info'.
+
2013-09-16 Jiong Wang <jiwang@tilera.com>
* linux-tile-low.c (tile_regsets): Modify the size field to 64-bit
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index f4e1525..4de20d5 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -256,6 +256,7 @@ start_inferior (char **argv)
{
struct thread_resume resume_info;
+ memset (&resume_info, 0, sizeof (resume_info));
resume_info.thread = pid_to_ptid (signal_pid);
resume_info.kind = resume_continue;
resume_info.sig = 0;