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
This commit is contained in:
parent
191590f09d
commit
5e3c72d41e
@ -34,3 +34,7 @@ class QemuCommand(gdb.Command):
|
|||||||
QemuCommand()
|
QemuCommand()
|
||||||
coroutine.CoroutineCommand()
|
coroutine.CoroutineCommand()
|
||||||
mtree.MtreeCommand()
|
mtree.MtreeCommand()
|
||||||
|
|
||||||
|
# Default to silently passing through SIGUSR1, because QEMU sends it
|
||||||
|
# to itself a lot.
|
||||||
|
gdb.execute('handle SIGUSR1 pass noprint nostop')
|
||||||
|
Loading…
Reference in New Issue
Block a user