• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisión80aea927cc7bf97a2bc22e1fb2111c52be295e8b (tree)
Tiempo2016-03-18 23:28:14
AutorYao Qi <yao.qi@lina...>
CommiterYao Qi

Log Message

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.

Cambiar Resumen

Diferencia incremental

--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
1+2016-03-18 Yao Qi <yao.qi@linaro.org>
2+
3+ * linux-low.c (linux_low_filter_event): Remove redundant
4+ WIFSTOPPED check together with linux_wstatus_maybe_breakpoint.
5+
16 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
27
38 * linux-ppc-low.c (ppc_supports_tracepoints): New function.
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -2443,7 +2443,7 @@ linux_low_filter_event (int lwpid, int wstat)
24432443 }
24442444 }
24452445
2446- if (WIFSTOPPED (wstat) && linux_wstatus_maybe_breakpoint (wstat))
2446+ if (linux_wstatus_maybe_breakpoint (wstat))
24472447 {
24482448 if (save_stop_reason (child))
24492449 have_stop_pc = 1;