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.
+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.
+
2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
* linux-ppc-low.c (ppc_supports_tracepoints): New function.
}
}
- if (WIFSTOPPED (wstat) && linux_wstatus_maybe_breakpoint (wstat))
+ if (linux_wstatus_maybe_breakpoint (wstat))
{
if (save_stop_reason (child))
have_stop_pc = 1;