linux-user: Recheck for pending synchronous signals too
commit8bd3773cce1885c46e5cf09a72b9138ccba5fbf2
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Jul 2016 15:44:45 +0000 (28 16:44 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 21 Sep 2016 18:51:49 +0000 (21 21:51 +0300)
tree1ec26bf99612405b5c9ed502b274268123c54ea2
parentc836112997e19966565cd6eb68e0836c8972720b
linux-user: Recheck for pending synchronous signals too

In process_pending_signals() we restart the scan of possible
pending signals after calling handle_pending_signal() in
case some other signal has been generated. This rescan
should also include a check for a new synchronous signal
since those are in fact the only kind of new signal that
the signal frame setup process might produce.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/signal.c