Check lwp_signal_can_be_delivered for enqueue/dequeue pending signals
authorYao Qi <yao.qi@linaro.org>
Fri, 18 Mar 2016 14:34:37 +0000 (14:34 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 18 Mar 2016 14:34:37 +0000 (14:34 +0000)
commit35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f
treec70a6f75fe27fe3daf31a53608fd63e2170738b2
parent94610ec4ee630e677d15361353796cac17339c53
Check lwp_signal_can_be_delivered for enqueue/dequeue pending signals

The enqueue and dequeue signals in linux_resume_one_lwp_throw use one
condition and its inverted one.  This patch is to move the condition
into a function lwp_signal_can_be_delivered, so that the next patch can
change the condition in one place.

gdb/gdbserver:

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

* linux-low.c (lwp_signal_can_be_delivered): New function.
(linux_resume_one_lwp_throw): Use lwp_signal_can_be_delivered.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
This page took 0.024151 seconds and 4 git commands to generate.