]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
scripts/qemu-gdb: Silently pass through SIGUSR1
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Aug 2015 17:46:31 +0000 (18:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 11 Sep 2015 16:14:50 +0000 (17:14 +0100)
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 <peter.maydell@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1439574392-4403-4-git-send-email-peter.maydell@linaro.org

scripts/qemu-gdb.py

index 1c94b2a9dd9f51860869f2de6bf447877e646d22..f98cd21108e66ebffab468b2d2e5404d867bd153 100644 (file)
@@ -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')