Remove redundant WIFSTOPPED check
authorYao Qi <yao.qi@linaro.org>
Fri, 18 Mar 2016 14:28:14 +0000 (14:28 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 18 Mar 2016 14:28:14 +0000 (14:28 +0000)
commit80aea927cc7bf97a2bc22e1fb2111c52be295e8b
tree29f213602730351f84c2f92652d6095a8947cc41
parent78a2bc3c1635767cb44cd86261047f2e2f9a2d2e
Remove redundant WIFSTOPPED check

WIFSTOPPED is checked linux_wstatus_maybe_breakpoint, so WIFSTOPPED
in "WIFSTOPPED (wstat) && linux_wstatus_maybe_breakpoint (wstat)"
is redundant.  This patch removes WIFSTOPPED check.

gdb/gdbserver:

2016-03-18  Yao Qi  <yao.qi@linaro.org>

* linux-low.c (linux_low_filter_event): Remove redundant
WIFSTOPPED check together with linux_wstatus_maybe_breakpoint.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c