aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-08-14 18:46:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-09-11 17:14:50 +0100
commit5e3c72d41e6909450e32f0b99545748cc25e9597 (patch)
tree567944b39c35a6eacddcf7249cedeee46341fc0d /scripts
parent191590f09dcbd26822a8bc67628cbd341dd5c07f (diff)
downloadqemu-5e3c72d41e6909450e32f0b99545748cc25e9597.zip
qemu-5e3c72d41e6909450e32f0b99545748cc25e9597.tar.gz
qemu-5e3c72d41e6909450e32f0b99545748cc25e9597.tar.bz2
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 <peter.maydell@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1439574392-4403-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qemu-gdb.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py
index 1c94b2a..f98cd21 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')