aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-16 14:46:17 +0000
committerYao Qi <yao@codesourcery.com>2013-01-16 14:46:17 +0000
commit85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0 (patch)
tree725e4c53293e40799733ec894db67c736e808cc7
parent3f01d0d0427544726a7c6a0fe93ad02e31061a9d (diff)
downloadgdb-85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0.zip
gdb-85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0.tar.gz
gdb-85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0.tar.bz2
gdb/gdbserver/
* linux-low.c (linux_resume_one_lwp): Don't check 'lwp->bp_reinsert != 0'.
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-low.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 64e1e77..494a0cd 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-16 Yao Qi <yao@codesourcery.com>
+
+ * linux-low.c (linux_resume_one_lwp): Don't check
+ 'lwp->bp_reinsert != 0'.
+
2013-01-07 Joel Brobecker <brobecker@adacore.com>
Pedro Alves <palves@redhat.com>
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 89988eb..8988509 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -3192,7 +3192,7 @@ linux_resume_one_lwp (struct lwp_info *lwp,
fprintf (stderr, " pending reinsert at 0x%s\n",
paddress (lwp->bp_reinsert));
- if (lwp->bp_reinsert != 0 && can_hardware_single_step ())
+ if (can_hardware_single_step ())
{
if (fast_tp_collecting == 0)
{