summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
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 /gdb/gdbserver
parent3f01d0d0427544726a7c6a0fe93ad02e31061a9d (diff)
downloadbinutils-gdb-85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0.tar.gz
gdb/gdbserver/
* linux-low.c (linux_resume_one_lwp): Don't check 'lwp->bp_reinsert != 0'.
Diffstat (limited to 'gdb/gdbserver')
-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 64e1e7701c7..494a0cd0640 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 89988eb1361..8988509fa2d 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)
{