From 85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 16 Jan 2013 14:46:17 +0000 Subject: [PATCH] gdb/gdbserver/ * linux-low.c (linux_resume_one_lwp): Don't check 'lwp->bp_reinsert != 0'. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-low.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 64e1e7701c..494a0cd064 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2013-01-16 Yao Qi + + * linux-low.c (linux_resume_one_lwp): Don't check + 'lwp->bp_reinsert != 0'. + 2013-01-07 Joel Brobecker Pedro Alves diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 89988eb136..8988509fa2 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) {