diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-03-18 14:34:37 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-03-18 14:34:37 +0000 |
commit | 35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f (patch) | |
tree | c70a6f75fe27fe3daf31a53608fd63e2170738b2 /gdb/spu-tdep.c | |
parent | 94610ec4ee630e677d15361353796cac17339c53 (diff) | |
download | gdb-35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f.zip gdb-35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f.tar.gz gdb-35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f.tar.bz2 |
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.
Diffstat (limited to 'gdb/spu-tdep.c')
0 files changed, 0 insertions, 0 deletions