From: Peter Maydell Date: Fri, 14 Aug 2015 17:46:31 +0000 (+0100) Subject: scripts/qemu-gdb: Silently pass through SIGUSR1 X-Git-Tag: v2.5.0-rc0~135 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5e3c72d41e6909450e32f0b99545748cc25e9597;p=users%2Fdwmw2%2Fqemu.git scripts/qemu-gdb: Silently pass through SIGUSR1 SIGUSR1 is QEMU's IPI signal, and it gets sent a lot, so is best silently passed through to the guest without stopping. Make qemu-gdb.py do this bit of configuration for the user. Signed-off-by: Peter Maydell Reviewed-by: Stefan Hajnoczi Message-id: 1439574392-4403-4-git-send-email-peter.maydell@linaro.org --- diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index 1c94b2a9dd..f98cd21108 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-gdb.py @@ -34,3 +34,7 @@ class QemuCommand(gdb.Command): QemuCommand() coroutine.CoroutineCommand() mtree.MtreeCommand() + +# Default to silently passing through SIGUSR1, because QEMU sends it +# to itself a lot. +gdb.execute('handle SIGUSR1 pass noprint nostop')